Commit Graph

186 Commits

Author SHA1 Message Date
Jay Hayes
bef1cf5028 Add new test illustrating spawning processes 2016-05-03 08:23:00 -05:00
Jay Hayes
c7c2fbcdff Auto-pin variables when replacing blanks in assert_receive 2016-05-02 20:45:03 -05:00
Jay Hayes
adabb403ea Fix typo in answers
This isn't failing due to an apparently problem with assert_receive in
the koans. Not quite sure yet why that macro isn't working.
2016-05-02 15:11:30 -05:00
Jay Hayes
1f4f82ea53 Add parens around Enum.each/2 2016-04-27 15:53:37 -05:00
Jay Hayes
c621c1abaa Assert the results of all koans tests 2016-04-27 12:15:26 -05:00
Jay Hayes
814d3db995 Refactor Tracker get/0 and summarize/0 2016-04-26 18:16:17 -05:00
Uku Taht
385ab0e236 Merge pull request #80 from elixirkoans/add-a-progress-bar
Add a progress bar
2016-04-26 23:28:44 +01:00
Felipe Seré
45a0801f4b Merge pull request #88 from iamvery/test-agents
Add test for agents koans
2016-04-26 23:25:00 +01:00
Jay Hayes
cd4f7c755d Add test for agents koans 2016-04-26 17:09:16 -05:00
Felipe Sere
1357235f8a Incorporate feedback about usued elements and typos 2016-04-26 23:06:05 +01:00
Felipe Sere
ab72b0e908 Simpler progressbar and handle --koan=<KOAN> better 2016-04-26 23:06:05 +01:00
Felipe Sere
2b2240340e Add a progress bar that also displays the number of koans. 2016-04-26 23:06:05 +01:00
Felipe Sere
c9ee4dbae0 Add an agent to keep track of completed koans 2016-04-26 23:06:05 +01:00
Jay Hayes
a24e179472 Error is raised if an answer isn't provided for each koan 2016-04-26 16:40:52 -05:00
Alex
b69010d05c Map.fetch! -> Map.fetch
I think is better to continue use safe ```Map.fetch``` until we familiarize users with dangerous function concept.
Not every body comes from ruby background, with knowledge of ```?``` and ```!``` function notations.

test ifx
2016-04-26 21:16:43 +03:00
Uku Taht
30dcdd5efe Move blank in pin operator koan 2016-04-26 13:32:33 +01:00
Uku Taht
353ce95a1a Attempt clarifying the pin operator 2016-04-26 13:03:46 +01:00
Rabea Gleissner
919b877d51 Makes changing pattern more obvious 2016-04-26 12:24:57 +01:00
Rabea Gleissner
9ec6089bde Add new koan for anonymous functions with pattern matching 2016-04-26 12:07:45 +01:00
Jay Hayes
c894641106 Remove unneeded element from match
Maps support partial matching, no need to include a key for an unneeded
value.
2016-04-24 23:11:34 -05:00
Jay Hayes
4a42e78e63 whitespace 2016-04-24 23:08:15 -05:00
Jay Hayes
fcff0af7b2 Removed unneeded test harness macro 2016-04-24 23:08:06 -05:00
Jay Hayes
b4fb404aff Quote expressions instead of hand-writing them
This makes it much easier to grok.
2016-04-24 22:58:26 -05:00
Jay Hayes
8a706846d3 Remove unused functions 2016-04-24 22:58:01 -05:00
Felipe Seré
cb560d6815 Merge pull request #76 from elixirkoans/remove-blank-assertions
Remove BlankAssertions
2016-04-24 15:14:24 +01:00
Jay Hayes
7465dca41f Add trailing commas to multi-line lists and maps 2016-04-23 20:38:43 -05:00
Uku Taht
5e7391402e Stop wrapping ExUnit 2016-04-23 21:39:22 +01:00
Felipe Sere
b1479487b0 Create a test file for each of the koan modules 2016-04-23 12:31:05 +01:00
Felipe Sere
14d4e4f551 Make sure blank is on the right and improve koans 2016-04-23 12:03:13 +01:00
Uku Taht
ded0f11ec6 Use triple underscore instead of double 2016-04-20 11:23:44 +01:00
Uku Taht
ea2bb8f9bf Use bare double underscores instead of atoms 2016-04-19 13:35:20 +01:00
Uku Taht
452aa5d9ee Remove arithmetic koans 2016-04-18 13:31:32 +01:00
Uku Taht
57595eb05a Merge pull request #67 from ukutaht/koans_for_agents
Koans for agents
2016-04-11 14:11:13 +01:00
Uku Taht
0b07f61bef Merge pull request #66 from ukutaht/improve_enum_koans
Improve enum koans
2016-04-11 13:54:47 +01:00
Felipe Sere
6752ec758c Improve and enforce naming of koans at compile time 2016-04-10 19:14:35 +01:00
Felipe Sere
12a511b309 A few simple koans about agents 2016-04-10 19:07:06 +01:00
Felipe Sere
98ab1a0e26 Improve enum koans 2016-04-10 11:56:49 +01:00
Felipe Sere
2b999605f5 Improve the wording in the function koans 2016-04-10 00:24:31 +01:00
Uku Taht
4c49a20927 Be more positive in string koans 2016-04-10 00:12:23 +01:00
Uku Taht
b63a5d8e9a Combine keys and values map koans 2016-04-10 00:08:07 +01:00
Uku Taht
9e16bfdac8 Attempt at making maps easier to go through 2016-04-09 23:42:01 +01:00
Uku Taht
cbceaec895 Merge pull request #63 from ukutaht/koan_per_process
Koan per process
2016-04-09 23:24:59 +01:00
Felipe Sere
cc8fa19ce0 Minor cleanup 2016-04-09 23:19:18 +01:00
Felipe Sere
7e03cc37a9 Extract pure executor of koans 2016-04-09 19:16:42 +01:00
Felipe Sere
96366991dc Sort the result from #keys and #values to make the result more obvious. 2016-04-06 22:05:48 +01:00
Felipe Sere
88ee80b73d Introduce --koan=<name> to run a specific koan module. 2016-04-04 20:57:17 +01:00
Felipe Sere
f98b0699f5 Improve punctuation in Structs koans 2016-03-21 21:39:57 +00:00
Felipe Sere
96b473a994 Improve punctuation in PatternMatching koans 2016-03-21 21:39:57 +00:00
Felipe Sere
b95d4f1202 Fix punctuation 2016-03-21 21:39:57 +00:00
Felipe Sere
a0bb840cfc Improve the names of the process koans 2016-03-21 21:39:57 +00:00