Alcotest_extraExtended utilities for Alcotest used in TC39 Test262 tests
module RegExp = Quickjs.RegExpExpected failures - tests that we know don't pass yet but want to track
val test :
?expected_fail:bool ->
string ->
(unit -> Alcotest.return) ->
unit Alcotest.test_caseCreate a test case that handles expected failures
val test_by_id :
string ->
string ->
(unit -> Alcotest.return) ->
unit Alcotest.test_caseCreate a test case by ID, auto-detecting expected failures
val regexp_compile : string -> flags:string -> RegExp.tval regexp_no_compile : string -> flags:string -> RegExp.compile_errorval assert_compile_error :
expected:RegExp.compile_error ->
RegExp.compile_error ->
unitval assert_unexpected_end : RegExp.compile_error -> unitval assert_nothing_to_repeat : RegExp.compile_error -> unitval assert_invalid_escape : RegExp.compile_error -> unitval assert_malformed_unicode : RegExp.compile_error -> unitval assert_unknown_error : contains:string -> RegExp.compile_error -> unit