mikey179 / spec

XP Runner specification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XP Runners

Build Status on TravisCI BSD License

Test the XP Runners specification. Uses a markdown-driven specification (see below).

Running the tests

$ sh spec/framework/run.sh spec/*.md
XP Runners specification tests
(c) 2016 https://github.com/xp-runners/spec/
Linux vagrant-ubuntu-vivid-64 3.19.0-42-generic #48-Ubuntu SMP Thu Dec 17 22:54:45 UTC 2015 x86_64 GNU/Linux

Basic tests

> Negative tests
✓ OK: `xp nih' -> Command not implemented: nih

> Run
✓ OK: `xp com.example.Test' -> com.example.Test
✓ OK: `xp com/example/Test.class.php' -> com/example/Test.class.php
✓ OK: `xp run com.example.Test' -> com.example.Test
✓ OK: `xp run com.example.Test Arg1 Arg2' -> com.example.Test Arg1 Arg2

# ...

Exit 0

Authoring a test

markdown-driven-tests

Have a look at the markdown files in here for examples.

About

XP Runner specification


Languages

Language:Shell 100.0%