Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7904086

Fix docs that JUnit tests need no `@build` for `@library` contents

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • jtreg8.1
    • None
    • tools
    • None

      For TestNG, [docs] state that `@library foo` will compile `foo`, hence, no need for an explicit `@build some.class.in.foo`:

      > If a library directory is used by a directory of TestNG tests,
      > all the classes in a library directory will be automatically
      > compiled by means of implicit `@build` tags.

      CODETOOLS-7903264, integrating JUnit support, also brought this feature, but did not adapt the above statement.

      [docs]: https://openjdk.org/jtreg/tag-spec.html

            vyazici Volkan Yazici
            vyazici Volkan Yazici
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: