The first idea is write multiple OS.cmd in a test functionProcess.spawn -> OS.cmd(...)Process.spawn -> OS.cmd(...)Process.spawn -> OS.cmd(...)
I think there are 2 level of parallelism we can do:(1). Parallel in "TestCase class level". Spawn a process for each TestCase class.(2). Parallel in "test function level". Spawn a process for each test function.If we chose (2), we just need to put one OS.cmd in one test function, and it automatically runs in parallel.If we chose (1), we need to break the OS.cmd calls into different TestCase classes.
I'm not sure if Code1Test, Code2Test...make sense.In my imagination, we should collect related test cases into a TestCase (TestSuite?) class.
Anyway, the "context" syntax sounds good.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/157d0acc-e8fe-4573-9715-4ba014b58e9dn%40googlegroups.com.
The individual tests within each test case are still run serially.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGF5_6eS62H_EQ7vEj_OyaJqUBuYT4dsFSL%3D_uPGNR2N4%2BtUxQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CANnyohZhjR_SV6OED3%2BeyzS_26ES5CAiR_eP6JhjEU472edyxg%40mail.gmail.com.