Class Web

java.lang.Object
net.jqwik.web.api.Web

@API(status=EXPERIMENTAL, since="1.4.0") public class Web extends Object
This is the home for static methods to produce arbitraries for Web-related domain types, like email addresses, ip addresses, domains, URLs etc.
  • Method Details

    • emails

      @API(status=EXPERIMENTAL, since="1.4.0") public static EmailArbitrary emails()
      Create an arbitrary that generates valid E-Mail addresses.
      Returns:
      a new arbitrary instance
    • webDomains

      @API(status=EXPERIMENTAL, since="1.5.5") public static Arbitrary<String> webDomains()
      Create an arbitrary that generates valid internet domain names.
      Returns:
      a new arbitrary instance