Skip to content

xp-runners/spec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages