Closed XIA-LIYI closed 4 years ago
Hi! I'm not sure if I understand your question correctly. But if it is the case where your assert failing does not give an error message, it may be due to your JVM options. Here's the link that I used to rectify mine: https://stackoverflow.com/questions/48396274/how-to-enable-assertions-in-the-gradle-run-task
Hi, I mean why in tp dashboard, it does not show asserts found in my code base.
I have already put assert in my code and merge into master branch.
@XIA-LIYI First, check if those assert statements are attributed to you in the tp code dashboard (i.e., the RepoSense report). If they are, the item should turn green in the next tp progress dashboard update.
@damithc Hi prof. RepoSense failed to detect my commits after 13 Oct.
In tp progress, it detects those commits but RepoSense failed to do so. How can I solve these issues?
Let me know the Author name
of those commits . It's likely that you are using a new author name not known to RepoSense.
BTW, you can use the git -log
command or SourceTree to find the author name of a commit.
Yes, I am using a new device. So if I configure again in local device, will it be detected?
Attached is author name of current device.
Or I need to write an assertion after configuring and push again?
Let me know which author name was used for those missing commits. I can add that to the RepoSense config, after which those assertions will be detected.
It should be SimonXIA0316.
So commits written by SimonXIA0316 in the future can be detected right?
So commits written by SimonXIA0316 in the future can be detected right?
Yes, both past and future commits by that author will be detected as yours.
Okie, thanks prof!
BTW, when can I see the update info on RepoSense report?
It's updated every 24 hours. It can take another 24 hours for the assertion detection to propagate from the reposense dashboard to the tp progress dashboard.
Okay thanks prof!
Hi prof, @damithc I wrote the assertions on 21 Oct, but the tab of assertions is still red although it can be detected in RepoSense.
Also for overdue task, if I do it now, will it be green again?
It should turn green in the next update.
Prof, you mean which question? The assertion tab?
Prof, you mean which question? The assertion tab?
Yes, the Assertions
item.
Also for overdue task, if I do it now, will it be green again?
Yes, as long as you do them within a few days after the deadline.
Okay thanks for reply!
Hi guys, Anyone knows the instruction for that assertion task? I add one assert into code but it does not become green. So I feel confused.
Thanks for any help given!