Given

A behavior-style alias for when.


Output

describe My Test Suite:
  context .add_two_ints
    given the sum does not overflow
      it returns the sum of two numbers
      ...

Example


#include "awry/awry.h"

describe("given construct", test_given_construct)
  given("when a given construct is called")
    and("and another scenario is described")
      it("is defined")
        expect(GIVEN_TYPE) to equal(0x04)
      end
    end
  end
end

int main(void) {
  Awry.run();
  Awry.clear(&Awry);
  return 0;
}