You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer, I want the hasEntries() method so that
I do not need to list the expected entries in the right order
I do not need to offer the expected log entries as raw texts, instead, I can specify them as patterns.
For example
before
assertThat(context).log().hasEntries(IdeLogEntry.ofSuccess("Successfully installed java in version 17.0.10_7"),
IdeLogEntry.ofSuccess("Successfully installed mvn in version 3.9.6"));
after
//change the order of those expected log entries
assertThat(context).log().hasEntries(IdeLogEntry.ofSuccess("Successfully installed mvn in version 3.9.6"),
//assume that regex is supported here
IdeLogEntry.ofSuccess("Successfully installed java in version 17.[0-9._]+"));
The text was updated successfully, but these errors were encountered:
As a developer, I want the
hasEntries()
method so thatFor example
before
after
The text was updated successfully, but these errors were encountered: