I have started working upon JUnit plugin and planning on adding new functionalities listed below. Please suggest some advice if any correction is needed or changes are needed. FYI: I am only using the information provided in junitResult.xml and is not making any xml file of my own having more information.
- For all the functionalities I have implemented drop down menus along with a submit button on jenkins UI just below the trends. - A trend for depicting number testcases which took longer to run based upon exponential weighted average of their duration for previous builds. In fact I have implemented 3 more metrics also for the same purpose namely- max(if a testcase took maximum time to run in this build), prev(if a testcase took more time to run in this build than previous build) and threshold(if a testcase took more time to run than the specified threshold). - A trend for depicting number of test flappers(flaky tests) in a particular build based upon the idea that if a test passed in the given build and failed in one of the last 10 builds then it will be marked as "flake". - Also, upon hovering over the chart as a tooltip I am working upon displaying some testcase names rather than just count as it can also be visualized from chart itself using range axis/y-axis. - I am also working upon displaying trends for each project by selecting the outermost package name in which whole of the project lies, as project name may not be necessarily a substring of package name so this functionality can't directly use project name but project name can derived approximately from package name for that project(if packages are named appropriately). - On clicking the submit button on UI we will get the desired trend displayed at the original location where the trend is being displayed as of now. I had a doubt that the getFailCount(), getPassedCount() which are being called from buildDataset() are synchronized methods, so what all threads will be accessing these methods simultaneously. I was not able to determine this. And if we just synchronize buildDataset method(though it won't be directly accessed by object being private method) will the purpose be not fulfilled? TIA On Tuesday, June 2, 2020 at 12:36:54 AM UTC+5:30, Sanjeet Malhotra wrote: > > Hi, > I wanted to contribute to JUnit Plugin by making more trends in addition > to one being currently displayed right now. I was planning to make trends > like one for test flappers, number of tests taking longer time based on > various metrics, etc. I just wanted to know where I can find guidelines for > contributing to JUnit Plugin and any advice is most welcomed. TIA. > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/e69f0a23-31cf-4c5c-9522-65fa82a1a56eo%40googlegroups.com.
