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

Some tests are not executable from the IDE #179

Closed
hemanik opened this Issue Sep 21, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@hemanik
Contributor

hemanik commented Sep 21, 2017

Issue Overview

Smart testing provider tests return NPE when provider invocation not set or set to null.

Expected Behaviour

System property basedir should not be null.

Current Behaviour

System property basedir is not set.

Steps To Reproduce
  1. Execute SmartTestingProviderTest when_get_suites_is_called_then_same_list_of_classes_will_be_returned and test_when_invoke_is_called_with_null from Intellij
Additional Information
@bartoszmajsak

This comment has been minimized.

Show comment
Hide comment
@bartoszmajsak

bartoszmajsak Sep 21, 2017

Member

@hemanik Are these the only tests failing in IDE?

Member

bartoszmajsak commented Sep 21, 2017

@hemanik Are these the only tests failing in IDE?

@MatousJobanek MatousJobanek self-assigned this Sep 21, 2017

@bartoszmajsak bartoszmajsak changed the title from NPE in SmartTestingProviderTests when provider invocation not set or set to null to NPE in SmartTestingProviderTests when executing from the IDE Sep 21, 2017

bartoszmajsak added a commit that referenced this issue Sep 21, 2017

fix(#179): adds missing mock in SmartTestingProviderTest (#181)
* adds missing mock in SmartTestingProviderTest
* basedir property is null in IDEA then take the file pointing to "."

@bartoszmajsak bartoszmajsak added this to the 0.0.2 milestone Sep 21, 2017

@bartoszmajsak bartoszmajsak changed the title from NPE in SmartTestingProviderTests when executing from the IDE to Some tests are not executable from the IDE Sep 21, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment