Skip to content

gradle discrepancies #33

@zeners

Description

@zeners

i found the following needed actions, please correct me, if i'm wrong

  • SerenityTask need removing clearHistory and history as mentioned by @petrandreev
  • build.gradle should use tasks.register
  • .all should be replaces with configureEach in build.gradle
  • test-Task need useJUnitPlatform() to run the tests
  • what's happen to remove newly introduced and unnecessary generateOutcomes property #30 ?
  • JUnit5-test-classes should be package-private
  • contains-assertions should be written as assertThat(...).contains(...); (currently assertThat(....contains(...));
  • create README-file with detailed usage descriptions

i tested the actions with a simple test-project and with active --build-cache --configuration-cache
getting the following result:

  • clean test without change: create empty result
     > Task :test FROM-CACHE
     > Task :aggregate
    
  • test after change: create index with no results pages listed (after clean test)
    > Task :test
    > Task :aggregate UP-TO-DATE
    

this looks like test create output, that aggregate uses without the knowledge of gradle-cache

gradle writes output into build, serenity into target/site/serenity, clean only remove serenity inside target/site

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions