-
Notifications
You must be signed in to change notification settings - Fork 0
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
Statistics #65
Statistics #65
Conversation
removed empty line
removed empty line
src/main/webapp/app/js/commons.js
Outdated
} | ||
} | ||
var obj = "<table>" + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should have a clearer name, such as statisticsTable
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, will do
|
||
@Test | ||
@DisplayName("test setStatusAchieved: throws ValidationException wrong user") | ||
void testSetStatusAchievedThrowsExceptionIfWrongUser() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For such long names, underscores can be used to separate parts of names:
testSetStatusAchieved_ThrowsExceptionIfWrongUser
I.e. "test" + method name that is being tested + underscore + extra part (+ underscore + more parts...).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok. will remember should i do it now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, better do it, should be quick to do.
|
||
@Test | ||
@DisplayName("test setStatusAchieved: changes status") | ||
void test_SetStatusAchieved() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to put the underscore right after "test" - testSetStatusAchieved
is OK.
Checklist
mvn test
from the root directory to see all new and existing tests passMotivation and Context
#63 #59
Description
just small final fixes, tests