function opaTest() {
		callQUnit("test", arguments, function (assert, fnDone) {
			Opa._usageReport.opaEmpty();
			resetOPA();
			fnDone();
		}, function (assert, fnDone, oOptions) {
			Opa._usageReport.opaEmpty(oOptions);

			// add the error message to QUnit test results
			// will cause exception in case of QUnit timeout since the last test has already finished
			// ("Cannot read property 'failedAssertions' of null")
			assert.ok(false, oOptions.errorMessage);

			resetOPA();

			if (!QUnitPause.shouldPauseOnAssert()) {
				QUnitPause.emitPause();
			}

			var oPauseDeferred = jQuery.Deferred();
			QUnitPause.onResume(function () {
				// let OPA finish before QUnit starts executing the next test
				// call fnDone only if QUnit did not timeout
				if (!oOptions.qunitTimeout) {
					setTimeout(fnDone, 0);
				}
				oPauseDeferred.resolve();
			});

			return oPauseDeferred.promise();
		});
	}
QUnit test adapter for OPA: add a test to be executed by QUnit
Has the same signature as QUnit.test (QUnit version is also considered)
Suggested usage:
<pre><code>
sap.ui.require(["sap/ui/test/Opa5", "sap/ui/test/opaQunit"], function (Opa5, opaTest) {

   Opa5.extendConfig({
       assertions: new Opa5({
           checkIfSomethingIsOk : function () {
               this.waitFor({
                   success: function () {
                       Opa5.assert.ok(true, "Everything is fine");
                   }
               });
           }
       })
   });

   opaTest("Should test something", function (Given, When, Then) {
      // Implementation of the test
      Then.checkIfSomethingIsOk();
   });

});
</code></pre>

@public
@alias module:sap/ui/test/opaQunit
@function
@static
@param {string} testName name of the QUnit test.
@param {int} [expected] only supported in QUnit v1.x: denotes how many assertions are expected to be made in the test.
@param {function} callback the test function. Expects 3 arguments, in order:
{@link sap.ui.test.Opa.config}.arrangements, {@link sap.ui.test.Opa.config}.actions, {@link sap.ui.test.Opa.config}.assertions.
These arguments will be prefilled by OPA
@param {boolean} [async=false] available only in QUnit v1.x. Indicates whether the test is asynchronous. False by default.