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

do not check regex optionally (closes #2074) #2980

Merged
merged 7 commits into from
Oct 30, 2018

Conversation

AlexKamaev
Copy link
Contributor

No description provided.

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit af8ee78 have failed. See details:

6 similar comments
@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit af8ee78 have failed. See details:

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit af8ee78 have failed. See details:

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit af8ee78 have failed. See details:

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit af8ee78 have failed. See details:

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit af8ee78 have failed. See details:

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit af8ee78 have failed. See details:

@@ -140,6 +173,39 @@ describe('Compiler', function () {


describe('TypeScript', function () {
it('Should compile test defined in separate module if option is enabled', function () {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why does we need addtional tests written with TypeScript and CoffeeScript?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We have several compilers and every on them has it's own set of similar tests. It's true that I modified base behavior which affects all of the compilers at the same time, but I think it'd better to have full set of tests

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok

@@ -47,6 +47,39 @@ describe('Compiler', function () {
});

describe('ES-next', function () {
it('Should compile test defined in separate module if option is enabled', function () {
const sources = [
Copy link
Contributor

Choose a reason for hiding this comment

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

Also add tests for negative cases:
If there are no test and/or fixture definitions into imported files, then TestCafe should report clear error messages.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

@AlexKamaev AlexKamaev changed the title [WIP] do not check regex optionally [WIP] do not check regex optionally (closes #2074) Oct 19, 2018
@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 4e1c527 have failed. See details:

@testcafe-build-bot
Copy link
Collaborator

@AlexKamaev
Copy link
Contributor Author

@testcafe-build-bot retest

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@AlexKamaev AlexKamaev closed this Oct 22, 2018
@AlexKamaev AlexKamaev reopened this Oct 22, 2018
@AlexKamaev AlexKamaev changed the title [WIP] do not check regex optionally (closes #2074) do not check regex optionally (closes #2074) Oct 22, 2018
@testcafe-build-bot
Copy link
Collaborator

3 similar comments
@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@AlexKamaev
Copy link
Contributor Author

@testcafe-build-bot retest

2 similar comments
@AlexKamaev
Copy link
Contributor Author

@testcafe-build-bot retest

@AlexKamaev
Copy link
Contributor Author

@testcafe-build-bot retest

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

3 similar comments
@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@@ -294,6 +294,16 @@ describe('Runner', () => {
expect(err.message).eql('No test file specified.');
});
});

it('Should raise an error if the source and imported midule have no tests', () => {
Copy link
Collaborator

@helen-dikareva helen-dikareva Oct 29, 2018

Choose a reason for hiding this comment

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

typo midule
AFAIK we should check all text lines including comments and test names.

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

3 similar comments
@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@testcafe-build-bot
Copy link
Collaborator

@AlexKamaev
Copy link
Contributor Author

ping

@AndreyBelym AndreyBelym merged commit cb47bbb into DevExpress:master Oct 30, 2018
kirovboris pushed a commit to kirovboris/testcafe-phoenix that referenced this pull request Dec 18, 2019
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.

6 participants