Skip to content

Commit

Permalink
added automatic tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rcsm17 committed Aug 29, 2022
1 parent 030970d commit 96af0df
Show file tree
Hide file tree
Showing 23 changed files with 1,220 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dev_tool/automatic_testing/HHNB_Cypress/cypress.env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"video": false,
"runOptimization": false,
"fetchOptimization": false,
"runAnalisys": false,
"sessionid":"5p3cy2j2m888jnuh31gy8g6pzakwumta"}
3 changes: 3 additions & 0 deletions dev_tool/automatic_testing/HHNB_Cypress/cypress.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"video": false
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Using fixtures to represent data",
"email": "hello@cypress.io",
"body": "Fixtures are a great way to mock data for responses to routes"
}
280 changes: 280 additions & 0 deletions dev_tool/automatic_testing/HHNB_Cypress/cypress/fixtures/features.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,280 @@
{
"bACnoljp": {
"step_-1.0": {
"soma": {
"voltage_base": [
-72.680596050455193,
4.0202830774053737
]
}
},
"step_-0.8": {
"soma": {
"voltage_base": [
-73.574732044389492,
3.7027385268242066
]
}
},
"step_-0.6": {
"soma": {
"voltage_base": [
-73.558206679073763,
4.2126276143112342
]
}
},
"step_-0.4": {
"soma": {
"voltage_base": [
-73.603440343259024,
3.5705803402963787
]
}
},
"step_-0.2": {
"soma": {
"voltage_base": [
-74.003051764543713,
4.3939064515337698
],
"steady_state_voltage": [
-74.301811684875958,
3.9260574568214843
]
}
},
"step_0.2": {
"soma": {
"voltage_base": [
-74.239128411910571,
4.4108010379459408
],
"Spikecount": [
1.4166666666666665,
1.5343293866268308
],
"time_to_last_spike": [
49.270833333331751,
50.400794161234714
],
"inv_first_ISI": [
12.253823974979184,
14.357059478778853
],
"inv_second_ISI": [
10.229502271788482,
14.365319557974615
],
"inv_third_ISI": [
7.9309325884669084,
10.909043251112692
],
"inv_fourth_ISI": [
6.8306010928965639,
11.830948139132349
],
"inv_fifth_ISI": [
5.6306306306309502,
9.7525383309063951
],
"inv_last_ISI": [
2.5444710164382567,
2.5476439935206567
]
}
},
"step_0.4": {
"soma": {
"voltage_base": [
-74.125522987317225,
4.5051022829970098
],
"Spikecount": [
4.7916666666666661,
2.7773263522075804
],
"time_to_last_spike": [
222.55833333334209,
134.54073190550329
],
"inv_first_ISI": [
75.682035092960547,
46.242637879782365
],
"inv_second_ISI": [
36.149041146615744,
44.459161065388344
],
"inv_third_ISI": [
25.590487296071313,
30.043942983692826
],
"inv_fourth_ISI": [
31.251676460788545,
46.174081796900893
],
"inv_fifth_ISI": [
18.261543091605315,
25.611203237614745
],
"inv_last_ISI": [
36.891865002068158,
36.337108668564213
]
}
},
"step_0.6": {
"soma": {
"mean_frequency": [
40.840581527957525,
21.806757302644737
],
"time_to_first_spike": [
8.7458333333336284,
6.7047596588792517
],
"AHP_depth": [
17.970316478564811,
6.092344275150138
],
"voltage_base": [
-73.99175627240129,
5.1047945530637735
],
"Spikecount": [
8.375,
4.5618816171497585
],
"time_to_last_spike": [
269.1666666666772,
103.4141511915487
],
"inv_first_ISI": [
152.29982676741454,
92.814810921364057
],
"inv_second_ISI": [
79.376451744546401,
37.722110720528129
],
"inv_third_ISI": [
56.634222506820095,
52.557226850814779
],
"inv_fourth_ISI": [
47.99263105173673,
60.38422666352654
],
"inv_fifth_ISI": [
40.386720450488056,
58.128138780819143
],
"inv_last_ISI": [
64.963299761958169,
82.220753564919377
]
}
},
"step_0.8": {
"soma": {
"mean_frequency": [
45.32108942475233,
14.705101692692487
],
"time_to_first_spike": [
5.7333333333335856,
1.9752636954763223
],
"AHP_depth": [
20.745769038339578,
5.6599335360333978
],
"voltage_base": [
-73.854719809759985,
4.5469321840434365
],
"Spikecount": [
11.208333333333334,
5.8847436930875192
],
"time_to_last_spike": [
264.17500000000791,
80.975536000430196
],
"inv_first_ISI": [
214.44842561195392,
75.162332608059771
],
"inv_second_ISI": [
156.57158854690812,
104.05840183739627
],
"inv_third_ISI": [
105.39233996516489,
60.219558066920058
],
"inv_fourth_ISI": [
71.125659726374536,
50.549906612838285
],
"inv_fifth_ISI": [
55.434499663734286,
55.516309002596572
],
"inv_last_ISI": [
19.709038885563956,
4.8801196079568543
]
}
},
"step_1.0": {
"soma": {
"mean_frequency": [
46.460657224299553,
25.845696243204326
],
"AHP_depth": [
21.349790900425511,
6.1544551910502872
],
"voltage_base": [
-73.056780741659523,
3.8303447285408629
],
"Spikecount": [
15.208333333333334,
8.132048224975879
],
"time_to_last_spike": [
328.97083333334672,
24.828042990744969
],
"inv_first_ISI": [
259.13560313726259,
88.622463780843773
],
"inv_second_ISI": [
222.49647432434395,
94.458722386323501
],
"inv_third_ISI": [
175.40133092884463,
74.190884644147928
],
"inv_fourth_ISI": [
110.76425348025896,
57.728892832996152
],
"inv_fifth_ISI": [
93.69672317426101,
79.917544713554648
],
"inv_last_ISI": [
29.030781888392276,
12.784928730950471
]
}
}
}
}
Loading

0 comments on commit 96af0df

Please sign in to comment.