<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>



<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<h3>
Tobias Boege pushed to branch gb.test.tap
at <a href="https://gitlab.com/gambas/gambas">Gambas / gambas</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/gambas/gambas/-/commit/c0e12bb4cc7b5ce328fa2cd1ea1c2fdaa9040440">c0e12bb4</a></strong>
<div>
<span>by Tobias Boege</span>
<i>at 2020-02-24T14:11:10+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gb.test.tap: Fix output stream handling

[GB.TEST.TAP]
* NEW: Allow to set the output stream of Assert.
* BUG: Subtests inherit their parent's output stream.
</pre>
</li>
<li>
<strong><a href="https://gitlab.com/gambas/gambas/-/commit/5e8d2cc753e65d109d8a5defa9466c2c47188b6c">5e8d2cc7</a></strong>
<div>
<span>by Tobias Boege</span>
<i>at 2020-02-24T14:18:39+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gb.test.tap: Don't set ExitCode when reading from a Stream

[GB.TEST.TAP]
* BUG: TestHarness cannot set ExitCode when there is no Process involved.
</pre>
</li>
<li>
<strong><a href="https://gitlab.com/gambas/gambas/-/commit/dc693bd93360f5f716f45ce6bb070507b5f118d9">dc693bd9</a></strong>
<div>
<span>by Tobias Boege</span>
<i>at 2020-02-24T14:55:00+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gb.test.tap: Allow Assert to be reset

[GB.TEST.TAP]
* NEW: Add Reset() method to Assert. Useful if you use the same (automatic) instance for multiple TAP streams.
* BUG: Fix state handling in TapPrinter.Finished.
</pre>
</li>
<li>
<strong><a href="https://gitlab.com/gambas/gambas/-/commit/b18c4a27bac010e3626979e4508807b93190fb1f">b18c4a27</a></strong>
<div>
<span>by Tobias Boege</span>
<i>at 2020-02-24T17:20:49+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gb.test.tap: Fix subtest summary

[GB.TEST.TAP]
* BUG: Correctly summarize subtest. In particular empty tests fail.
</pre>
</li>
<li>
<strong><a href="https://gitlab.com/gambas/gambas/-/commit/e10a75f5d416cf44c99aedc6bbbd46a24d94bbc8">e10a75f5</a></strong>
<div>
<span>by Tobias Boege</span>
<i>at 2020-02-24T17:54:58+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gb.test.tap: Add SkipAll and don't lose stderr

[GB.TEST.TAP]
* NEW: Support skipping all tests.
* BUG: DO intercept a test process' stderr but forward it verbatim to the TAP stream.
</pre>
</li>
<li>
<strong><a href="https://gitlab.com/gambas/gambas/-/commit/b80257fee5c50a4b3bb448f2bece9270ea23b78c">b80257fe</a></strong>
<div>
<span>by Tobias Boege</span>
<i>at 2020-02-24T18:18:39+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gb.test.tap: Add more diagnostics

[GB.TEST.TAP]
* NEW: Add more diagnostics when Assert methods fail.
</pre>
</li>
<li>
<strong><a href="https://gitlab.com/gambas/gambas/-/commit/f1868cdf2dce3a23cb9ace2e548be0f0667b4372">f1868cdf</a></strong>
<div>
<span>by Tobias Boege</span>
<i>at 2020-02-24T18:18:39+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gb.test: Use gb.test.tap

[GB.TEST]
* NEW: Use gb.test.

This removes the Assert and Track classes and uses gb.test.tap instead.
Test methods are now executed inside subtests, plan lines are auto-
matically emitted by the harness.

Differences between gb.tests's and gb.test.tap's Assert module:

  - Instead of Assert.True and Assert.False, use Assert.Ok.
  - Instead of Assert.Equals* for every type, there is a generic
    Assert.Equals for Variants and a specific Assert.StringEquals
    for strings which prints diagnostics when the test fails.
  - Assert.BailOut does not terminate the entire program, just
    the TAP stream.
  - Assert.ErrorWithCode is called Assert.ErrorCode.

All TAP printing is done through Assert now. Errors happening in the
test code are not caught and spoofed in the TAP stream anymore, they
cause a test failure. The system would be more robust if the testee
would be in a different process from the tester.
</pre>
</li>
</ul>
<h4>18 changed files:</h4>
<ul>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#7199f2512925587c7334a3ff596b8c40a82ebeed">
comp/src/gb.test.tap/.src/Assert.class
</a>
</li>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#a4f716fa1d638f94ecffe91e3ffdda39e9c99cbc">
comp/src/gb.test.tap/.src/Main.module
</a>
</li>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#00d8f4dea13e29b63d04461ca734201699af5ad5">
comp/src/gb.test.tap/.src/Tap/TapPrinter.class
</a>
</li>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#a01c335b3e0079008d3011121e6d823e88d43b6e">
comp/src/gb.test.tap/.src/TestHarness.class
</a>
</li>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#37440dc554b1f0e66117c1e9120b5e90f47388c3">
comp/src/gb.test/.project
</a>
</li>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#cdd6dbb315d40ec123b3ae99d7a9e7f31abb5c0c">
comp/src/gb.test/.src/TestMe.module
</a>
</li>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#ecaf6cbff143ddb74ae79d9e52070f9bcb4f2256">
comp/src/gb.test/.src/TestMyself/TestAllAsserts.test
</a>
</li>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#df584959307402a15067b2952d7344055ca3d36d">
comp/src/gb.test/.src/TestMyself/TestBailout.test
</a>
</li>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#08be144b914e23d919be2d1d1ad369b3d2338663">
comp/src/gb.test/.src/TestMyself/TestElse.test
</a>
</li>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#510c1eee55f5b5bf4adf463670ca396e79709a48">
comp/src/gb.test/.src/TestMyself/TestError.test
</a>
</li>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#91983bf4460b707c80432a014c8cc207c06df6fb">
comp/src/gb.test/.src/TestMyself/TestFailures.test
</a>
</li>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#d7a5a55d985716010f75c43a6302b902d52ee4e1">
comp/src/gb.test/.src/TestMyself/TestSetup.test
</a>
</li>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#d5c448cfcb375a503bd5f549b6b200ecfddc358b">
comp/src/gb.test/.src/TestMyself/TestSetupTeardown.test
</a>
</li>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#a29edc84d84f77d9e3ed0d8655fed7e97ff53b01">
<span class="deleted-file">

comp/src/gb.test/.src/TestSuite/Assert.module
</span>
</a>
</li>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#d74297e93206d70840527458940972d2f4825e24">
comp/src/gb.test/.src/TestSuite/TestCase.class
</a>
</li>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#a9b165000be4457a4bb0873cff1f5c088f63cc4f">
comp/src/gb.test/.src/TestSuite/TestSuite.class
</a>
</li>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#ad64f413e7e742379507ef85dcf0d5a02f6e349a">
<span class="deleted-file">

comp/src/gb.test/.src/TestSuite/Track.module
</span>
</a>
</li>
<li class="file-stats">
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372#dccc52eb6ec70fcf2e5c17f7d2248cb1acff4e99">
comp/src/gb.test/.src/TestSuite/UnitTest.class
</a>
</li>
</ul>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
<a href="https://gitlab.com/gambas/gambas/-/compare/d8c765e9b0203600613c0ddfc891dcdf5c5a4db2...f1868cdf2dce3a23cb9ace2e548be0f0667b4372">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
adjust your notification settings.



</p>
</div>
</body>
</html>