Closed cvogt closed 9 years ago
cc @masseguillaume @clhdapp are you subscribed here?
@kolowheel Actually you can keep the object, call it maybe samplemodel or something, but write a separate test that just runs latex generation and checks that a few important words appear in the string. if you keep the main method of the original object, you can still do test:run
. Just the sample model shouldn't be in the projects main source code
This file needs to be turned into a test. https://github.com/kolowheel/new-scaladoc/blob/74918a4cddabb1bc2aa8322c54fef53026e35364/src/main/scala/Main.scala You already got ScalaTest in your dependencies. Use it :). Also, please just use the FunSuite with assert calls, no funny dsls (the test framework are meaning well, but doing harm there in my eyes).