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

If there is not enough infomation to run the assert, it should fail the test. #7

Open
creativeArtie opened this issue Feb 14, 2021 · 2 comments

Comments

@creativeArtie
Copy link

Is your feature request related to a problem? Please describe.
If the assert missing data, it doesn't display in the result window and cannot inform me where the issue is located.

Describe the solution you'd like
Insert the assert test as a failed, maybe with a different colour background to indicated the unit test method fails the test.
But instead of showing expected/actual in the detail, show the assert message.

@Ganbin
Copy link
Member

Ganbin commented Feb 17, 2021

I'm not sure to understand what you mean by "assert missing data".

Can you be more specific and maybe show me an example?

@creativeArtie
Copy link
Author

creativeArtie commented Feb 18, 2021

It really an issues I have with #2. Pointing out the which method cause the assert error in AJ_Tools_UT_assert helps but still have rooms for improvement.

I am thinking replacing these asserts with something that can be display in the unit test window.

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

No branches or pull requests

2 participants