Commit c958702
authored
Move integration tests to
## Changes
Objectives:
* A dedicated directory for integration tests
* It is not picked up by `go test ./...`
* No need for a `TestAcc` test name prefix
* More granular packages to improve test selection (future)
The tree structure generally mirrors the source code tree structure.
Requirements for new files in this directory:
* Every package **must** be named after its directory with `_test` appended
* Requiring a different package name for integration tests avoids
aliasing with the main package.
* Every integration test package **must** include a `main_test.go` file.
These requirements are enforced by a unit test in the `integration` package.
## Tests
Integration tests pass.
The total run time regresses by about 10%. A follow-up change that
increases the degree of test parallelism will address this.integration package (#2009)1 parent 61b0c59 commit c958702
File tree
145 files changed
+538
-52
lines changed- integration
- assumptions
- bundle
- bundles
- artifact_path_with_volume
- template
- basic
- template
- clusters
- template
- dashboards
- template
- deploy_then_remove_resources
- template
- job_metadata
- template
- a/b
- python_wheel_task_with_cluster
- template
- {{.project_name}}
- python_wheel_task_with_environments
- template
- {{.project_name}}
- python_wheel_task
- template
- {{.project_name}}
- recreate_pipeline
- template
- spark_jar_task
- template
- {{.project_name}}
- META-INF
- uc_schema
- template
- volume
- template
- with_includes
- template
- testdata/init/field-does-not-exist
- template
- cmd
- alerts
- api
- auth
- clusters
- fs
- jobs
- testdata
- repos
- secrets
- storage_credentials
- sync
- version
- workspace
- testdata/import_dir
- a/b/c
- internal
- libs
- filer
- testdata/notebooks
- git
- locker
- tags
- python
- testdata
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
145 files changed
+538
-52
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments