Closed rouilj closed 5 months ago
Varshitha, if you have had no luck getting a clone of the Roundup repo, please attach your test file to this issue.
Varshitha, where is the file?
Hii John , I created a new repository called as roundup.
Hi Varshitha:
In message @.***>, Varshitha Dinakar writes:
I created a new repository called as roundup.
I only see 1 repository under:
https://github.com/UMB-CS682-Team-02
where did you create the repo? Also did you make it public?
I am not a member of the organization, so I can't see members or private repos.
-- -- rouilj
I will add a file here itself and made repo public .
I can see the repo now, but it doesn't appear as a fork of the main roundup repo.
Compare your roundup repo to the one team 3 created at: https://github.com/UMB-CS-682-Team-03/roundup
Notice how their's shows "Forked from roundup-tracker/roundup".
That's why the email I sent you on this went into the GitHub fork procedure. With a forked repo, you get an easy way of pushing your changes upstream.
If you go to: https://github.com/roundup-tracker/roundup/fork are you able to choose UMB-CS682-Team-02 as the owner?
If so replace the current roundup repo by renaming the current roundup repo to roundup2 and fork the roundup-tracker/roundup repo as c.
Then you can merge your change into the new roundup repo where your work will be identified as a change from the main upstream repo.
If you can't select UMB-CS682-Team-02 as the owner, then just leave it as it is.
In either case, you and the rest of the team will use the UMB-CS682-Team-02 as the owner repo for testing the multibar and other graph types.
Did you commit your changes to test_cgi.py? I don't se them in the varshitha branch of the repo. The main branch of the repo has commits from you but I don't see a test_cgi.py on the main branch.
Roundup comes with a test suite. The export_csv action (Shown on the issue index page as "Download as CSV") is tested by the testCsvExport class in test/test_cgi.py.
A similar set of tests should be created for the piechart action. There are three steps needed for this:
1) the tracker created for testing needs to include chart.py. For local testing purposes, copy chart.py into share/roundup/templates/classic/extensions 2) insert the code below before the testCsvExport class 3) add the testChartGeneration to the
class FormTestCase
argument list after testCsvExportThe code below only tests the piechart in forward and reverse sorting on status with 5 issues. The charts under various scenarios test:
These are done using string matching. The rest of the test are done on the parsed XML by matching specific element or elements in specific locations.
Extend the testing to include sorting by different properties (e.g. priority) and create the same tests for barcharts. Also check for other chart types (e.g. Horizontal bar ....).
Starting code:
You should create methods like: testPiechartPriority, testBarchartForwardSortStatus, testBarchartReverseSortStatus, test BarchartPriority an so forth including multi-group bar charts.