Skip to content

1.1.2. Demo. Test setup with smoke tests

Andrey Chaschev edited this page Jan 11, 2014 · 1 revision

To check that your setup is ok, run in your command line:

$ bear --unpack-demos

Next, open a file .bear/examples/demo/SmokeProject.groovy and edit it's stages and hosts to reflect your environment. Then type

to run in console:

$ bear smoke.runTests -q

to run with UI:

$ bear smoke.runTests --ui

If in your output you see lines like:

command execution time: 44.2ms/command
finished: Stats{time: "8.8s", partiesArrived: 2, partiesOk: 2, partiesPending: 0, partiesFailed: 0}

If you see these line, your setup is complete and you may try running your own commands or developing your projects.