Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples-inspired integtests #103

Merged
merged 7 commits into from
Aug 11, 2021
Merged

Examples-inspired integtests #103

merged 7 commits into from
Aug 11, 2021

Conversation

dk1844
Copy link
Collaborator

@dk1844 dk1844 commented Jul 27, 2021

The SampleMeasurements{1, 2, 3} served a basis for this integration tests.

  • the original code has been extended to perform additional checks on the resulting _INFO file content to make the test complete.
  • the input files (atum/src/test/resources/data/input/{wikidata.csv, wikidata.csv.info}) are directly copied from the examples module
  • The examples also contain ControlMeasure-creating example code, this is IMHO covered sufficiently in the ControlMeasureBuilderTest
    • the check has been extended to cover the recently-introduced cmb.withSoftware(...), too.

I haven't created a specific integration profile at this point, because the breadth of the integration code is quite small. Should it grow significantly, we can always proceed with this further.

@dk1844 dk1844 changed the base branch from master to release/4.0.0 July 27, 2021 13:26
build-all.sh Show resolved Hide resolved
@dk1844 dk1844 marked this pull request as ready for review July 28, 2021 09:24
@dk1844 dk1844 linked an issue Jul 30, 2021 that may be closed by this pull request
@dk1844 dk1844 requested a review from benedeki August 5, 2021 09:11
Copy link
Collaborator

@Zejnilovic Zejnilovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it

}
}

object SampleMeasurementsIntegrationSuite {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am unsure if we have an agreement on this or not, but I would rather see this at the top

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved in #106

@dk1844 dk1844 merged commit e7b7d9a into release/4.0.0 Aug 11, 2021
@dk1844 dk1844 deleted the feature/100-integTests branch August 11, 2021 12:16
dk1844 added a commit that referenced this pull request Aug 24, 2021
* #99 examples in a subfolder,
* #99 README.md update
* #99 encoding added to example projects
* #99 span scale factor = 10 for GH action
* #99 copyright year update
* #99 explicit plugin versions moved to properties (build plugin maven.release.plugin.version, scala.cross.build.maven.plugin.version)
* #99 SampleMeasurementsIntegrationSuite companion object moved in front of the class
#103 (comment)
Co-authored-by: Saša Zejnilović <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create examples-inspired integTests
2 participants