Two types of users:
-
users
-
run emend, test their books, usually do not write tests
-
-
developers
-
write tests, libraries, integration with Jenkins + the same as users
-
Topics for videos:
-
introduction
-
what is Emender, why do we need it, what it can do for you, integration with Jenkins
-
how do the tests look like
-
demo
-
-
basic installation
-
install all dependencies - git, lua
-
clone the Emender repo
-
install emender - make install
-
clone the repo with libraries (if needed)
-
install libs - make install
-
obtain tests (for example clone the repo with tests) and install their dependencies (xmlstarlet, xmllint)
-
test that this works - emend
-
-
how to use it?
-
command line interface - the emend command
-
emend options - verbose, color, summary
-
tests options -
--X<option>
-
play with outputs (html, plain text)
-
-
write your own tests
-
specification of test (test/, name include Test*.lua, naming conventions for files, how to define metadata,
-
test methods:
setUp
,tearDown
, test* -
test functions: pass, fail, warn, ..?
-
helper functions :string.trim,
-
debug mode?
-
-
continuous integration software, for example Jenkins (advanced)