Blame view

HOWTO_TEST.txt 1.4 KB
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
61df368d   Etienne Pallier   Mis à jour Enviro...
18
- (2) Test with agentTelescopeRequester sending commands to the Gemini telescope (or its simulator) :
051e085c   Etienne Pallier   mise à jour des n...
19
20
21
22
	- test with telescope SIMULATOR (use -s option) :
		$ ./pyros.py -ts start agentDeviceTelescopeGemini,agentTelescopeRequester
	- test with REAL telescope :
		$ ./pyros.py -t start agentDeviceTelescopeGemini,agentTelescopeRequester
1c5910c6   Etienne Pallier   fin renommage (bu...
23
24
- (3) Test with  agentMultiRequester (AgentMajordome like) sending commands to several device agents at once : the Gemini telescope device agent (or simulator), and the SBIG device agent (or simulator):
		$ ./pyros.py -t start agentDeviceTelescopeGemini,agentDeviceSBIG,agentMultiRequester
4783e5b5   Etienne Pallier   GROS RENOMMAGE de...
25
	 
e0bd046a   Etienne Pallier   - Ajouté 2 HOWTO ...
26
(C) Interactive testing:
c84c9d3b   Etienne Pallier   update doc test e...
27
	$ ./pyros.py shell
321c1c7d   Etienne Pallier   updated HOWTO
28

c84c9d3b   Etienne Pallier   update doc test e...
29
30
31
32
(D) Devices testing:
	$ cd src/devices_controller/
Suivre les instructions du document README.md de ce dossier