-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issues of naming in rna-transcription. #27
Conversation
% erl -noshell -eval "eunit:test(rna_transcription, [verbose])" -s init stop | ||
|
||
-module(rna_transcription_tests). | ||
-include(rna_transcription, [to_rna/1]). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is redundant. All of the calls are fully qualified calls to the module, this statement imports the name from that module locally.
Other than that one line, this looks great. |
I'll try a |
The following changes all make it easier to run the tests: - Rename the test sources to match what eunit wants: tests for `foo` live in `foo_tests` (note the 's' at the end there). - Expect the module-under-test to be named `rna_transcription`. - Modify the test source to explicitly import the solution expected from the user. - Add instructions for compilation and running. All of this follows the lead of the previous exercise, `leap`. Signed-off-by: Magnus Therning <magnus@therning.org>
095534f
to
8df71b7
Compare
Pushed a new version, now without the |
Fix issues of naming in rna-transcription.
Fix issues of naming in rna-transcription.
Update lfe-compile, lfe and ltest dependencies to close exercism#25. Move ltest dependency to the test profile and add {eunit_compile_opts, [{src_dirs, ["src", "test"]}]} to ensure the tests are compiled and fix exercism#27.
The following changes all make it easier to run the tests:
foo
live infoo_tests
(note the 's' at the end there).rna_transcription
.All of this follows the lead of the previous exercise,
leap
.Signed-off-by: Magnus Therning magnus@therning.org