Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.22 KB

Requested_videos.adoc

File metadata and controls

48 lines (32 loc) · 1.22 KB

Emender videos

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

    1. install all dependencies - git, lua

    2. clone the Emender repo

    3. install emender - make install

    4. clone the repo with libraries (if needed)

    5. install libs - make install

    6. obtain tests (for example clone the repo with tests) and install their dependencies (xmlstarlet, xmllint)

    7. 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)