Timeline for How can I write unit test case of file format converter utility?
Current License: CC BY-SA 3.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 27, 2016 at 4:57 | vote | accept | Akash Thakare | ||
| Aug 23, 2016 at 18:46 | answer | added | Andy | timeline score: 1 | |
| Aug 22, 2016 at 20:04 | answer | added | kevin cline | timeline score: 3 | |
| Aug 22, 2016 at 17:04 | history | tweeted | twitter.com/StackProgrammer/status/767769547587854336 | ||
| Aug 22, 2016 at 15:49 | comment | added | Akash Thakare | @k3b Yes except 1 file format is not bi directional. | |
| Aug 22, 2016 at 15:46 | comment | added | k3b | is your converter bidirectional (i.e. there is convertHtml2Rtf and convertRtf2Html) so that you can check that convertHtml2Rtf(convertRtf2Html(someRtf)) == someRtf and convertRtf2Html(convertHtml2Rtf(someHtml))) == someHtml with a list of sample files? | |
| Aug 22, 2016 at 12:10 | answer | added | David Arno | timeline score: 2 | |
| Aug 22, 2016 at 11:59 | history | edited | Akash Thakare | CC BY-SA 3.0 |
added 11 characters in body
|
| Aug 22, 2016 at 11:59 | comment | added | Akash Thakare | @DavidArno Yes I missed one parameter which is an enum, states about the format to be converted in. | |
| Aug 22, 2016 at 11:57 | comment | added | David Arno |
"nearly 5 different file formats". So four file formats, then? Is the method convertIt simplified here, ie you do not appear to pass the format to be converted to in as a parameter. Presumably the real method has a number of parameters for for attributes you speak of?
|
|
| Aug 22, 2016 at 11:49 | comment | added | Akash Thakare | @wonderbell I want to test my code which is basically a wrapper of native tool. | |
| Aug 22, 2016 at 10:30 | comment | added | wonderbell | Do you want to test your code or the "native tool" which converts the file? | |
| Aug 22, 2016 at 10:12 | history | asked | Akash Thakare | CC BY-SA 3.0 |