José Valim
|
f9dd6f66a6
|
Remove function single do: definition syntax
|
2012-05-13 17:36:54 +02:00 |
|
José Valim
|
e476a5ef0d
|
Stab at new syntax
|
2012-05-13 15:33:57 +02:00 |
|
José Valim
|
e13241a6ec
|
Docs for ExUnit, make records non documented by default
|
2012-05-08 11:47:03 +02:00 |
|
Sergey Nartimov
|
fa35d55fdf
|
use correct doc format in ExUnit
|
2012-05-05 17:48:09 +03:00 |
|
José Valim
|
52eaf6d547
|
Overridable is no longer a data attribute, but a macro. This allows it to work fine with multi-clauses.
|
2012-05-02 21:23:25 +02:00 |
|
José Valim
|
7c7d7bd458
|
Allow "in" match clauses
|
2012-04-30 12:07:59 +02:00 |
|
José Valim
|
b620b2ea9a
|
Ensure we don't rescue the wrong exception accidentally
|
2012-04-26 09:58:16 +02:00 |
|
José Valim
|
5210aa5da8
|
Now that we have faster load times, get rid of assert_equal
|
2012-04-26 09:29:21 +02:00 |
|
José Valim
|
929f84f420
|
Revert removal of assert_equal
|
2012-04-26 00:31:40 +02:00 |
|
José Valim
|
d515e0a923
|
Improve docs for assertions
|
2012-04-26 00:13:31 +02:00 |
|
José Valim
|
24d64a871e
|
Get rid of assert_equal
|
2012-04-25 23:36:02 +02:00 |
|
José Valim
|
08078007c1
|
Smarter guesses on expected and actual, convert access_test.ex
|
2012-04-25 21:32:27 +02:00 |
|
José Valim
|
ba330be02f
|
Get rid of assert_access in favor of assert
|
2012-04-25 20:43:02 +02:00 |
|
José Valim
|
9a475008ec
|
Get rid of assert_operator, handle it with assert
|
2012-04-25 20:36:42 +02:00 |
|
José Valim
|
02448b4a62
|
Merge pull request #254 from lest/patch-1
guess expression meaning in ExUnit assert
|
2012-04-25 10:32:43 -07:00 |
|
José Valim
|
d0e0e275be
|
Add __info__(:functions) and __info__(:macros) to retrieve module info at runtime.
|
2012-04-23 10:59:01 +02:00 |
|
Sergey Nartimov
|
32f08b40a5
|
guess expression meaning in ExUnit assert
handle `==` and `List.member?` in expression
|
2012-04-14 21:48:56 +03:00 |
|
José Valim
|
0c1e26adc2
|
Allow record matches.
|
2012-04-04 11:07:49 -03:00 |
|
José Valim
|
1514c0371b
|
Rename Env to System, move Code functionality to it.
|
2012-04-03 18:35:24 -03:00 |
|
José Valim
|
7033f37a61
|
Allow modules to be nested.
|
2012-04-01 23:34:50 +02:00 |
|
José Valim
|
96f26c9299
|
Rename Orddict to Keyword, closes #216.
|
2012-04-01 16:10:31 +02:00 |
|
José Valim
|
d82da1a527
|
Add assertions for access.
|
2012-03-30 16:43:49 +02:00 |
|
José Valim
|
99d65007ce
|
Remove noise from ExUnit backtrace.
|
2012-03-26 10:27:47 +02:00 |
|
José Valim
|
66587fc87d
|
Down to two protocol failures.
|
2012-03-25 21:48:40 +02:00 |
|
José Valim
|
d979c7babc
|
Down to 23 failures.
|
2012-03-25 21:25:24 +02:00 |
|
José Valim
|
d815788c52
|
Compile files using . and inside __MAIN__
|
2012-03-25 18:48:20 +02:00 |
|
José Valim
|
cd0f128705
|
More naming related fixes.
|
2012-03-25 16:53:13 +02:00 |
|
Sergey Nartimov
|
435d5ff2ec
|
add assert_throw, assert_exit and assert_error to ExUnit
|
2012-03-09 00:01:09 +03:00 |
|
Sergey Nartimov
|
47feb16184
|
add assert_in_delta/refute_in_delta to ExUnit
|
2012-03-08 00:35:48 +03:00 |
|
Sergey Nartimov
|
29bc5de37d
|
add assert_nil/refute_nil to ExUnit
|
2012-03-07 22:36:31 +03:00 |
|
Sergey Nartimov
|
a99939951d
|
add assert_empty/refute_empty to ExUnit
|
2012-03-07 18:27:04 +03:00 |
|
Sergey Nartimov
|
6d8e23ade0
|
add assert_operator to ExUnit assertions
|
2012-03-07 09:52:04 +03:00 |
|
Rafael Mendonça França
|
b6f6358e84
|
Add docs to assert_raises/3
|
2012-03-06 14:38:27 -03:00 |
|
Rafael Mendonça França
|
87194f1836
|
Add assert_raises with expected message
|
2012-03-06 14:35:57 -03:00 |
|
Sergey Nartimov
|
5394998c68
|
convert ExUnit assertions doc to the new format
|
2012-03-06 20:11:30 +03:00 |
|
José Valim
|
cbaadadd55
|
Ensure erlang errors are handled properly.
|
2012-03-06 17:41:49 +01:00 |
|
Sergey Nartimov
|
ca4d79227a
|
get record name using elem/2
|
2012-03-06 19:26:54 +03:00 |
|
Sergey Nartimov
|
30d0cdd051
|
add assert_raises to ExUnit assertions
|
2012-03-06 17:27:48 +03:00 |
|
Sergey Nartimov
|
4e7e12fc96
|
add refute_equal to ExUnit assertions
|
2012-03-06 10:02:56 +03:00 |
|
José Valim
|
c9f808a6f4
|
Allow meta compilation.
|
2012-03-01 18:02:02 +01:00 |
|
José Valim
|
96a2ab2e7d
|
Split EEx::Compiler into its own file, adds docs, improve case.
|
2012-03-01 09:58:44 +01:00 |
|
José Valim
|
6b62c39f31
|
Add setup_all and teardown_all to ExUnit.
|
2012-02-27 10:41:46 +01:00 |
|
José Valim
|
a5a0fd0db5
|
Process.erase -> Process.delete
|
2012-02-25 13:25:22 +01:00 |
|
José Valim
|
1db7795217
|
Provide GenServer::Behavior with the default implementation for GenServer callbacks.
|
2012-02-20 09:38:28 +01:00 |
|
José Valim
|
cc4487d3bb
|
Define super for defforward.
|
2012-02-20 09:26:27 +01:00 |
|
José Valim
|
7d1e3b6632
|
Define a test helper.
|
2012-02-13 16:47:14 +01:00 |
|
Rafael Mendonça França
|
f21c6d9845
|
Add flunk assertion
|
2012-02-12 18:43:18 -02:00 |
|
Rafael Mendonça França
|
6934441095
|
Rename assert_included to assert_member
Since it only works with char lists
|
2012-02-12 18:30:01 -02:00 |
|
Rafael Mendonça França
|
64241176b7
|
Add docs to assertions
|
2012-02-12 18:30:01 -02:00 |
|
José Valim
|
338643a85d
|
Add Enum.filter_map
|
2012-02-12 13:16:48 +01:00 |
|