Commit Graph

166 Commits

Author SHA1 Message Date
Felipe Sere
862fb19dd7 Improve enum koans 2016-03-21 21:39:57 +00:00
Felipe Sere
33a06b4ec6 Improve the function koans slightly 2016-03-21 21:39:57 +00:00
Felipe Sere
679bacc632 Initial work on Functions 2016-03-21 21:39:57 +00:00
Felipe Seré
23b08a6c81 Merge pull request #50 from ukutaht/improve-descriptions
Improve description of Maps, Lists and Tuples
2016-03-21 21:39:23 +00:00
Uku Taht
264381338a Add list koan back in 2016-03-21 13:18:38 +00:00
Uku Taht
7eb2b88af8 Document screen clearing in the README 2016-03-21 11:11:14 +00:00
Uku Taht
7ee7514192 Improve some descriptions a little bit 2016-03-20 20:56:27 +00:00
Felipe Sere
0de0d6b284 Move sample module into test/support 2016-03-20 20:10:10 +00:00
Uku Taht
bd5972a867 Merge pull request #48 from ukutaht/support_multiple_placeholders
Support multiple placeholders
2016-03-20 20:05:45 +00:00
Felipe Sere
6e8845cb51 Assert on result of Task.start_link/1 2016-03-20 19:51:45 +00:00
Felipe Sere
f564927751 Make private functions private 2016-03-20 19:51:45 +00:00
Felipe Sere
994579f497 Rename and clean the ASTMangler to Blanks 2016-03-20 19:51:45 +00:00
Felipe Sere
023bb62e01 Generate test methods depending on the number of arguments. 2016-03-20 19:51:45 +00:00
Felipe Sere
4897527dab Use a tuple to get indexed access to a arguments 2016-03-20 19:51:45 +00:00
Felipe Sere
89dac5bb05 ASTMangler supports multiple placeholders 2016-03-20 19:51:45 +00:00
Felipe Seré
e077286b9d Merge pull request #49 from ukutaht/reorder_koans
New order for koans
2016-03-20 19:51:18 +00:00
Uku Taht
e8a16af08f Update exfswatch 2016-03-20 19:19:24 +00:00
Uku Taht
fe0096db49 New order for koans
Equalities
Arithmetic
Strings
Tuples
Lists
Maps
Structs
PatternMatching
Functions
Enums
Processes
Tasks
2016-03-20 19:11:13 +00:00
Uku Taht
0ec6e36d5f Merge pull request #44 from ukutaht/extract_answers
Extract answers
2016-03-17 16:59:36 +00:00
Uku Taht
17210ebe56 Remove assertions on errors 2016-03-17 16:47:15 +00:00
Felipe Sere
ddba726e38 Adds koans about tuples 2016-03-17 11:41:23 +00:00
Felipe Sere
e927ad99ca Extract answers from Tasks module 2016-03-17 10:13:27 +00:00
Felipe Sere
b70e8ea095 Extract answers from processes.
For some reason I don't quite understand I had to rewrite
assert_receive as I was not getting failures when I was expecting them.
2016-03-17 10:04:01 +00:00
Felipe Sere
e4d1cad6df Refernece the Person struct from test harness 2016-03-16 21:55:19 +00:00
Felipe Sere
243a8a07d8 Extract answers from PatternMatching module 2016-03-16 21:53:29 +00:00
Felipe Sere
56b6679a69 Extract answers from Structs module 2016-03-15 23:14:07 +00:00
Uku Taht
52d1c1161e Extract answers for Enum 2016-03-15 23:10:21 +00:00
Felipe Sere
245b094e7d Extract answers from arithmetic module 2016-03-15 23:04:23 +00:00
Felipe Sere
353721412f Extract answers from Functions module 2016-03-13 19:03:56 +00:00
Felipe Sere
5509d8a4eb Extract answers for the String module 2016-03-13 19:00:16 +00:00
Felipe Sere
7be4010f2a Extract values from maps 2016-03-13 11:21:59 +00:00
Felipe Seré
dffd710dc0 Merge pull request #42 from ukutaht/clear-timing
Clear screen before running koans
2016-03-12 22:22:03 +00:00
Uku Taht
8cbaa34ff0 Add travis CI 2016-03-12 18:48:29 +02:00
Uku Taht
d2e2f40b5b Merge pull request #41 from ukutaht/test_our_koans
Test our koans
2016-03-12 17:09:24 +02:00
Felipe Sere
9c803ff72c Use prewalk to inject value into AST 2016-03-12 15:07:23 +00:00
Uku Taht
236bc55ba8 Clear screen before running koans 2016-03-12 16:37:21 +02:00
Uku Taht
031258e086 Use koan assertions to fail the tests 2016-03-12 16:11:32 +02:00
Felipe Sere
0eb715d4ca Extract answers for Lists 2016-03-12 12:20:07 +00:00
Felipe Sere
3d5da67c8d Improve readability of test harness 2016-03-12 12:20:07 +00:00
Felipe Sere
e48cc261a9 Strip out answers from Equalities 2016-03-12 12:20:07 +00:00
Felipe Sere
4eabc8ac61 Reuse run_koan for testing 2016-03-12 12:20:07 +00:00
Felipe Sere
a6bcd89e7a Split koan into two functions with different arity 2016-03-12 12:20:07 +00:00
Felipe Sere
eb1da4b1fc Show how to test koans for Equalities 2016-03-12 12:20:07 +00:00
Felipe Sere
95c620129d Test multiple koans together 2016-03-12 12:20:07 +00:00
Felipe Sere
fdb87b529f Add argument to koan to allow it to be tested 2016-03-12 12:20:07 +00:00
Felipe Seré
a212f674e0 Merge pull request #40 from ukutaht/add-pin-and-pipe-operators-koans
WIP Feedback
2016-03-12 12:18:08 +00:00
Makis Otman
741e870222 Add pipe and pin operators koans 2016-03-12 12:11:50 +00:00
Felipe Sere
5269588e06 Disable warnings about unused variables 2016-03-09 18:33:39 +00:00
Felipe Seré
cd8afdcd58 Merge pull request #38 from ukutaht/runtime-errors
Format runtime errors consistently with assertion errors
2016-03-09 14:43:37 +00:00
Uku Taht
23d5d87af5 Add a newline before compile error 2016-03-09 16:40:35 +02:00