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

Make example tests run off of the CLI, tidy testing/ #1730

Merged
merged 5 commits into from
May 9, 2024

Conversation

Ekrekr
Copy link
Contributor

@Ekrekr Ekrekr commented May 8, 2024

This removes dependence on the API part of the CLI, which should be private

Also tidy up project datasets, and tests/utils which was weirdly located.

@Ekrekr Ekrekr requested a review from Tuseeq1 May 8, 2024 16:29
testing/index.ts Dismissed Show dismissed Hide dismissed
testing/index.ts Dismissed Show dismissed Hide dismissed
import { version } from "df/core/version";
import { dataform } from "df/protos/ts";
import { suite, test } from "df/testing";
import { suite, test, getProcessResult, nodePath, npmPath, corePackageTarPath } from "df/testing";
Copy link
Member

Choose a reason for hiding this comment

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

import should be alphabetized. same in other locations.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let's not bother if the linter won't do it, and it doesn't look there's a drop-in setting

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The linter was throwing, I somehow merged it before the tests finished lol - will update in subsequent PR

core/main_test.ts Show resolved Hide resolved
@Ekrekr Ekrekr merged commit d4b7c69 into main May 9, 2024
3 of 4 checks passed
@Ekrekr Ekrekr deleted the make-example-tests-cli-based branch May 9, 2024 09:08
moker-spaghetti pushed a commit to moker-spaghetti/dataform that referenced this pull request May 26, 2024
* Make example tests run off of the CLI, tidy testing/

* Tidy

* Make example projects have separate datasets

* Force trigger re-run

* Force trigger re-run
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.

2 participants