Hello all, In pull request https://github.com/BOINC/boinc/pull/2182 I wrote that it would be nice to have unit tests to validate XML parser that used in BOINC to operate with XML requests and responses. This can help to identify issues related to wrong xml documents sent to server or client (I remember there was a long term issue with non-closed xml tag).
Also this can be a first step to move from our XML parser to some other standard parser (e.g. libxml++). So at first I want to create unit tests and use Google Test Framework for these purposes ( https://github.com/google/googletest ) I used this framework in some of my previous projects. I'll require David or Rom to help me to add pre-compiled binaries of test framework to the repos ( http://boinc.berkeley.edu/git/boinc_depends_win_vs2013.git and http://boinc.berkeley.edu/git/boinc_depends_win_vs2010.git). Also I'll require Charlie to help me to make necessary changes in Mac build because I have no workstation with Mac to test it on. Also after applying these unit tests we can add an additional step to CI build process to run this tests and validate XML contract in case of it changes. What do you think, guys? In case there will be no objections I'll create corresponded tickets on GitHub and can start to work on them. Thanks Best regards, Vitalii Koshura _______________________________________________ boinc_dev mailing list boinc_dev@ssl.berkeley.edu https://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.