Blame view

HOWTO_TEST.txt 953 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
(A) Running the unit tests suite:
- (1) Some unit tests only:
c84c9d3b   Etienne Pallier   update doc test e...
11
	$ ./pyros.py test
e0bd046a   Etienne Pallier   - Ajouté 2 HOWTO ...
12
- (2) All unit tests:
c84c9d3b   Etienne Pallier   update doc test e...
13
	$ ./pyros.py testall
e0bd046a   Etienne Pallier   - Ajouté 2 HOWTO ...
14
15
16

(B) Test with agents:
- (1) Test with agentA and agentB sending commands to each other:
c84c9d3b   Etienne Pallier   update doc test e...
17
	$ ./pyros.py -t start agentA,agentB
e0bd046a   Etienne Pallier   - Ajouté 2 HOWTO ...
18
- (2) Test with agentTelescopeRequester sending commands to agentDevice:
617aeab8   Etienne Pallier   Ajout table uniqu...
19
	$ ./pyros.py -t start agentTelescopeRequester,agentDeviceTelescopeGemini
e0bd046a   Etienne Pallier   - Ajouté 2 HOWTO ...
20
21

(C) Interactive testing:
c84c9d3b   Etienne Pallier   update doc test e...
22
	$ ./pyros.py shell
321c1c7d   Etienne Pallier   updated HOWTO
23

c84c9d3b   Etienne Pallier   update doc test e...
24
25
26
27
(D) Devices testing:
	$ cd src/devices_controller/
Suivre les instructions du document README.md de ce dossier