-
Notifications
You must be signed in to change notification settings - Fork 0
/
tests_mock_data
60 lines (53 loc) · 2.83 KB
/
tests_mock_data
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Copy/paste the following in the terminal, when you need mock data.
http :4000/students gitName=andrea [email protected]
http :4000/students gitName=keren [email protected]
http :4000/students gitName=rafael [email protected]
http :4000/students gitName=Pedro [email protected]
http :4000/exercises name='Map-filter-find' packageVersion='0.0.1'
http :4000/exercises name='Reduce' packageVersion='0.0.1'
http :4000/exercises name='Data-mining' packageVersion='0.0.1'
http :4000/questions key="[A] Find the heaviest Pokemon" exerciseId=1
http :4000/questions key="[B] Get a pokemon object by their id" exerciseId=2
http :4000/questions key="[C] Transforms an array of pokemon into an array of "rare" pokemon" exerciseId=3
http :4000/evaluations studentId=1 questionId=1 passed=true attempted=true attemptsCount=3
http :4000/evaluations studentId=1 questionId=2 passed=false attempted=true attemptsCount=5
http :4000/evaluations studentId=1 questionId=3 passed=true attempted=true attemptsCount=7
http :4000/evaluations studentId=2 questionId=1 passed=false attempted=false attemptsCount=8
http :4000/evaluations studentId=2 questionId=2 passed=true attempted=true attemptsCount=6
http :4000/evaluations studentId=2 questionId=3 passed=false attempted=true attemptsCount=4
http :4000/evaluations studentId=3 questionId=1 passed=true attempted=true attemptsCount=3
http :4000/evaluations studentId=3 questionId=2 passed=false attempted=false attemptsCount=3
http :4000/evaluations day='[email protected]' gitName='kerenKi' gitEmail='[email protected]' evaluation=[{ exercise: 'Array methods: map, filter & find: ',
attempted: true,
passed: true,
key: '[B] getPokemonById: Gets a pokemon object by their id',
failureMessages: [],
meta: { learning_goals: [Array] }
},
{ exercise: 'Array methods: map, filter & find: ',
attempted: false,
passed: false,
key:
'[C] getRarePokemons: Transforms an array of pokemon into an array of \"rare\" (spawn_chance is less than 0.1) pokemon',
failureMessages: [],
meta: { learning_goals: [Array] } },
{ exercise: 'Array methods: map, filter & find: ',
attempted: false,
passed: false,
key:
'[D] getMidSizedPokemon: Gets the pokemon that weighs \"38.0 kg\"',
failureMessages: [],
meta: { learning_goals: [Array] } }]
http :4000/evaluations day='[email protected]' gitName='kerenKi' gitEmail='[email protected]' evaluation=[ { exercise: 'Array methods: map, filter & find: ',
attempted: true,
passed: true,
key:
'[A] getPokeNames: Transforms an array of pokemons into an array of pokemon names',
failureMessages: [],
meta: { learning_goals: [Array] } },
{ exercise: 'Array methods: map, filter & find: ',
attempted: true,
passed: true,
key: '[B] getPokemonById: Gets a pokemon object by their id',
failureMessages: [],
meta: { learning_goals: [Array] } }]