Blame view

HOWTO_TEST.txt 810 Bytes
e0bd046a   Etienne Pallier   - Ajouté 2 HOWTO ...
1
2
3
4
5

*************************************************************************************
 Here is how you can TEST that pyros is working well (ensure that nothing is broken)
*************************************************************************************

321c1c7d   Etienne Pallier   updated HOWTO
6
7
8
(More on this subject at https://docs.google.com/document/d/1osHT3d8GiofRd9k3nL7cz4Hcmo9WVEOcSaSSQpgJcFs/edit#heading=h.odcd50f0rjwh)


e0bd046a   Etienne Pallier   - Ajouté 2 HOWTO ...
9
10
11
12
13
14
15
16
17
18
19
20
21
22
(A) Running the unit tests suite:
- (1) Some unit tests only:
./pyros.py test
- (2) All unit tests:
./pyros.py testall

(B) Test with agents:
- (1) Test with agentA and agentB sending commands to each other:
./pyros.py -t start agentA,agentB
- (2) Test with agentTelescopeRequester sending commands to agentDevice:
./pyros.py -t start agentTelescopeRequester,agentDevice

(C) Interactive testing:
./pyros.py shell
321c1c7d   Etienne Pallier   updated HOWTO