Blame view

test/FitNesseRoot/ReleaseS/ThirdPart/ReLease3/SprinT1/UserStory73/content.txt 5.33 KB
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
!1 !-User Story 73 : Implémentation de l'option "one file / parameter"  -!

!define path {../test/FitNesseRoot/ReleaseS/ThirdPart/ReLease3/SprinT1/UserStory73/}
!define executable {amdaXMLRequestorTool }
fbe3c2bb   Benjamin Renard   First commit
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

!2 Description du test
!-  En tant qu'utilisateur scientifique
Je peux définir une sortie fichier avec l'option "one file / parameter"
Afin d'obtenir un fichier séparé par intervalle de temps et par paramètre
C'est fichiers peuvent être regroupés dans une archive commune par utilisation d'un post-processing
-!

!2 Test
!|script|TestAmdaCommandLine|
|reference|US 73: id 00|id test|
|note|!- Création d'un fichier ASCII par intervalle de temps et par paramètre. Un fichier info séparé par paramètre. Les fichiers sont regroupés dans une archive tar.gzip -!|
|check|execute|!-rm-!|command| -f download_*.tar.gz |args|0|
|check|executeWithInfo|${executable}|command|${path}request_us73_00.xml|args|0|
|check|execute|!-rm-!|command| -f output-*.txt |args|0|
|check|execute|!-tar xvzf -!|command| download_*.tar.gz |args|0|
87c20ffe   Benjamin Renard   update tests for ...
21
22
23
24
|check|execute|diff|command|output-imf_tt_1_0.txt ${path}/download_73_00_imf_0_REF.txt|args|0|
|check|execute|diff|command|output-imf_tt_1_1.txt ${path}/download_73_00_imf_1_REF.txt|args|0|
|check|execute|diff|command|output-imf_tt_1_2.txt ${path}/download_73_00_imf_2_REF.txt|args|0|
|check|execute|diff|command|output-imf_tt_1_3.txt ${path}/download_73_00_imf_3_REF.txt|args|0|
fbe3c2bb   Benjamin Renard   First commit
25
|check|execute|diff|command|output-imf_info.txt ${path}/download_73_00_imf_info_REF.txt|args|0|
87c20ffe   Benjamin Renard   update tests for ...
26
27
28
29
|check|execute|diff|command|output-dst_tt_1_0.txt ${path}/download_73_00_dst_0_REF.txt|args|0|
|check|execute|diff|command|output-dst_tt_1_1.txt ${path}/download_73_00_dst_1_REF.txt|args|0|
|check|execute|diff|command|output-dst_tt_1_2.txt ${path}/download_73_00_dst_2_REF.txt|args|0|
|check|execute|diff|command|output-dst_tt_1_3.txt ${path}/download_73_00_dst_3_REF.txt|args|0|
fbe3c2bb   Benjamin Renard   First commit
30
|check|execute|diff|command|output-dst_info.txt ${path}/download_73_00_dst_info_REF.txt|args|0|
87c20ffe   Benjamin Renard   update tests for ...
31
32
33
34
|check|execute|diff|command|output-efield_tt_1_0.txt ${path}/download_73_00_efield_0_REF.txt|args|0|
|check|execute|diff|command|output-efield_tt_1_1.txt ${path}/download_73_00_efield_1_REF.txt|args|0|
|check|execute|diff|command|output-efield_tt_1_2.txt ${path}/download_73_00_efield_2_REF.txt|args|0|
|check|execute|diff|command|output-efield_tt_1_3.txt ${path}/download_73_00_efield_3_REF.txt|args|0|
fbe3c2bb   Benjamin Renard   First commit
35
36
37
38
39
40
41
42
43
|check|execute|diff|command|output-efield_info.txt ${path}/download_73_00_efield_info_REF.txt|args|0|

!|script|TestAmdaCommandLine|
|reference|US 73: id 01|id test|
|note|!- Création d'un fichier CDF par intervalle de temps et par paramètre. Les fichiers sont regroupés dans une archive zip -!|
|check|execute|!-rm-!|command| -f download_*.zip |args|0|
|check|executeWithInfo|${executable}|command|${path}request_us73_01.xml|args|0|
|check|execute|!-rm-!|command| -f output-*.cdf |args|0|
|check|execute|!-unzip -!|command| download_*.zip |args|0|
87c20ffe   Benjamin Renard   update tests for ...
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|check|execute|cdfdump|command|-output output-imf_tt_1_0.cdf.dump output-imf_tt_1_0.cdf |args|1|
|check|execute|cdfdump|command|-output output-imf_tt_1_1.cdf.dump output-imf_tt_1_1.cdf |args|1|
|check|execute|cdfdump|command|-output output-imf_tt_1_2.cdf.dump output-imf_tt_1_2.cdf |args|1|
|check|execute|cdfdump|command|-output output-imf_tt_1_3.cdf.dump output-imf_tt_1_3.cdf |args|1|
|check|execute|cdfdump|command|-output output-dst_tt_1_0.cdf.dump output-dst_tt_1_0.cdf |args|1|
|check|execute|cdfdump|command|-output output-dst_tt_1_1.cdf.dump output-dst_tt_1_1.cdf |args|1|
|check|execute|cdfdump|command|-output output-dst_tt_1_2.cdf.dump output-dst_tt_1_2.cdf |args|1|
|check|execute|cdfdump|command|-output output-dst_tt_1_3.cdf.dump output-dst_tt_1_3.cdf |args|1|
|check|execute|cdfdump|command|-output output-efield_tt_1_0.cdf.dump output-efield_tt_1_0.cdf |args|1|
|check|execute|cdfdump|command|-output output-efield_tt_1_1.cdf.dump output-efield_tt_1_1.cdf |args|1|
|check|execute|cdfdump|command|-output output-efield_tt_1_2.cdf.dump output-efield_tt_1_2.cdf |args|1|
|check|execute|cdfdump|command|-output output-efield_tt_1_3.cdf.dump output-efield_tt_1_3.cdf |args|1|
|check|execute|diff|command|output-imf_tt_1_0.cdf.dump ${path}/download_73_01_imf_0_REF.cdf.dump|args|0|
|check|execute|diff|command|output-imf_tt_1_1.cdf.dump ${path}/download_73_01_imf_1_REF.cdf.dump|args|0|
|check|execute|diff|command|output-imf_tt_1_2.cdf.dump ${path}/download_73_01_imf_2_REF.cdf.dump|args|0|
|check|execute|diff|command|output-imf_tt_1_3.cdf.dump ${path}/download_73_01_imf_3_REF.cdf.dump|args|0|
|check|execute|diff|command|output-dst_tt_1_0.cdf.dump ${path}/download_73_01_dst_0_REF.cdf.dump|args|0|
|check|execute|diff|command|output-dst_tt_1_1.cdf.dump ${path}/download_73_01_dst_1_REF.cdf.dump|args|0|
|check|execute|diff|command|output-dst_tt_1_2.cdf.dump ${path}/download_73_01_dst_2_REF.cdf.dump|args|0|
|check|execute|diff|command|output-dst_tt_1_3.cdf.dump ${path}/download_73_01_dst_3_REF.cdf.dump|args|0|
|check|execute|diff|command|output-efield_tt_1_0.cdf.dump ${path}/download_73_01_efield_0_REF.cdf.dump|args|0|
|check|execute|diff|command|output-efield_tt_1_1.cdf.dump ${path}/download_73_01_efield_1_REF.cdf.dump|args|0|
|check|execute|diff|command|output-efield_tt_1_2.cdf.dump ${path}/download_73_01_efield_2_REF.cdf.dump|args|0|
|check|execute|diff|command|output-efield_tt_1_3.cdf.dump ${path}/download_73_01_efield_3_REF.cdf.dump|args|0|
fbe3c2bb   Benjamin Renard   First commit
68
69
70
71


-----
!contents -R2 -g -p -f -h