Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bash-3.2$ ./waysToRun
- ... Run as As Usual ...
- $ rdmd -unittest -main a.d
- A: Bar is not clean
- A: Foo is clean
- A: This is an unnamed import
- B: Bar is not clean
- B: Foo is clean
- B: This is an unnamed import
- ... With Summary ...
- $ rdmd -unittest -main a.d -s
- A: Bar is not clean
- A: Foo is clean
- A: This is an unnamed import
- B: Bar is not clean
- B: Foo is clean
- B: This is an unnamed import
- Test Summary
- | modName| testName| result|
- |--------|---------|-------|
- | a| ABar| fail|
- | a| AFoo| pass|
- | a| Unamed 1| pass|
- | b| BBar| fail|
- | b| BFoo| pass|
- | b| Unamed 1| pass|
- ... Filter to module a with summary ...
- $ rdmd -unittest -main a.d -m a -s
- A: Bar is not clean
- A: Foo is clean
- A: This is an unnamed import
- Test Summary
- | modName| testName| result|
- |--------|---------|-------|
- | a| ABar| fail|
- | a| AFoo| pass|
- | a| Unamed 1| pass|
- ... Filter to module b with summary ...
- $ rdmd -unittest -main a.d -m b -s
- B: Bar is not clean
- B: Foo is clean
- B: This is an unnamed import
- Test Summary
- | modName| testName| result|
- |--------|---------|-------|
- | b| BBar| fail|
- | b| BFoo| pass|
- | b| Unamed 1| pass|
- ... Filter to test ABar with summary ...
- $ rdmd -unittest -main a.d -t ABar -s
- A: Bar is not clean
- Test Summary
- | modName| testName| result|
- |--------|---------|-------|
- | a| ABar| fail|
- ... Filter to test BBar with summary ...
- $ rdmd -unittest -main a.d -t BBa -s
- B: Bar is not clean
- Test Summary
- | modName| testName| result|
- |--------|---------|-------|
- | b| BBar| fail|
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement