File: README.rst

package info (click to toggle)
circuits 3.2.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,980 kB
  • sloc: python: 17,583; javascript: 3,226; makefile: 100
file content (23 lines) | stat: -rw-r--r-- 773 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Hello World Example -- Test Driven Development
==============================================


This is the classical "Hello World!" style application written in circuits using the `Test Driven Development (TDD) <http://en.wikipedia.org/wiki/Test-driven_development>`_ software development process. This example serves as a useful basis for developing your own circuits components and applications that are developed using this process. Furthermore all unit tests in the circuits framework and library of components are all written this way in an almost identical fashion.

This requires the use of:

- `pytest <http://pytest.org>`_

To install pytest:

    $ pip install pytest


To run this example:

    $ ./hello.py

To run the unit test:

    $ py.test test_hello.py