Tests inside 'spec/language/ruby/global_test/' are important, because they test the final result produced by Kuniri. However, the tests inside this directory have three main problems:
- When some test fails, it does not show the specific line problem because I used a 'common' function.
- The test is not smart, because I read all the file many times.
- Additionally, the name 'gloal_test' is meaningless.
Refactory this test to fix the three bullets aforementioned. Of course, make this kind of test clever. Consider to move it to another level.
Tests inside 'spec/language/ruby/global_test/' are important, because they test the final result produced by Kuniri. However, the tests inside this directory have three main problems:
Refactory this test to fix the three bullets aforementioned. Of course, make this kind of test clever. Consider to move it to another level.