GitXplorerGitXplorer
k

scalaslide

public
4 stars
1 forks
2 issues

Commits

List of commits on branch master.
Unverified
26de49328a09e0b83b6913c46625f11d59abad6c

Merge pull request #4 from NeQuissimus/master

kktoso committed 13 years ago
Unverified
6ef606c161e66e04e490fc656c6c7379941a04ba

Disable parallel execution

NNeQuissimus committed 13 years ago
Unverified
0f7416a81e99565a0d8f676bc8e45bda678d9d6d

Fix deletion of generated tests

NNeQuissimus committed 13 years ago
Unverified
77227bdb4628336b76e42b997f8f76e5db1485d1

Update master

kktoso committed 13 years ago
Unverified
13d5cb68185e5e154de651a817d49ee4732c6f3e

Merge pull request #3 from NeQuissimus/master

kktoso committed 13 years ago
Unverified
8511437e54d05bbee2c6ad3001878a8ce950c812

Make sure, folder for generated tests exists!

NNeQuissimus committed 13 years ago

README

The README file for this repository.

ScalaSlide

ScalaSlide - automated slides testing framework

On a side note, the presentation itself is compiled. And not in the sense of "plain markdown to html"!

The presentation is actually an sbt build which extracts all Scala source code from the slides and runs tests with them!

This way I am 100% sure that the presented material both compiles and passes tests :-) Like the idea? Check out the sources on: https://github.com/ktoso/scalaslide.

Here's an example of a run of the sbt build. You just type: scalaslide:gen [options for landslide] and here's what you get:

Here's a quick feature list of what scalaslide can do for you:

  • generated test code for each of !scala code blocks in your slides.md file. I'm using ScalaTest, but you can use any framework you want.
  • the tests are then run and the presentation will not be generated until all tests pass. Test Driven Presentation Development!
  • it works with sbt's awesome ~ feature, also known as "watch resources". So it will automatically recompile and run tests (and generate the presentation if they pass) each time the slides.md file changes! This allows to have a great flow while building the presentation on one display, and watching it "generated" on another.
  • it uses google's landslide to generate the presentation, so it's nicely browsable from your browser.
  • landslide can also generate a pdf version of the slides if needed - for handouts for example

Dependencies of ScalaSlide

You will need:

  • sbt - scala's simple build tool
  • landslide - for generating the presentation

The Presentation

Was prepared and given by me at AGH - University of Science and Technology Kraków in May 2012. It's under Creative Commons BY, and there's a video online of the talk (although in polish): http://www.blog.project13.pl/index.php/coding/1606/scala-presentation-at-agh-university-of-science-and-technology/

Links

ScalaSlide was mentioned in the "Markdown" book published by Tim Steinbach, describing the many many uses of markdown. You can get a copy here if you're into this kind of reads.

License

Just make sure you notice me (konrad.malawski@project13.pl) or my blog; blog.project13.pl somewhere if you use this ;-) I'll copy paste a detailed license later...