Hi, I'm here again with a new testing matrix page. See attachment:
* html file: the result, generated by jallib wrapper, * yaml file: a small testing matrix for tests, used to produce this html file The html page shows the PIC name, a testing meter, and the libraries involved. I gave up the columns with tests or libs, since it produces huge table. I think it's better readable like this, yet informative. About the PIC name... Well, there's a link, it doesn't work yet. About the testing meter... Not very accurate, I'd need your help here. Currently, this is the number successful tests - the number of failed tests, divided by the total number of tests (considering test + sample). That is: (success + failed) / total As a consequence: * the meter can be negative. It then says "unsupported" * PICs, which have only a blink led test with success, have 100%. That's not that good... Maybe I could add a meter showing the confidence, growing up as there are more tests. Gimme ideas, guys (or better, formulas...), or I let it as is... About the libraries involved... (reading this can give headaches) For each test (whether a test or a sample), I search for "include" statements (regex: "^\s*include\s+(\w+)\s*", anything starting with spaces or not, then "include" word). For each test, I can put a list of libraries it uses. Since a test can pass, fail or be "not run yet", I can build list of libraries which have been involved in successfull,, failed, or "not run yet" tests.. On the html matrix, I give priority to success, then to untested, then to failed. Ex: * if libA is involved in 3 tests, which pass, fails, "not run yet", then the lib goes the to success part (green). * If libB is involved in 2 tests, which fails and "not run yet", then the lib is considered untested (blue). This is a "give it a chance" approach. Next step is too build dedicated test page for each PIC, which I expect to be easier and faster, since it's just about reporting. Waiting for your feeback, Seb -- Sébastien LELONG http://www.sirloon.net http://sirbot.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
16f877:
samples:
b16f877.jal: {pass: null, revision: null}
lcd_hd44780_tmp_4_line.jal: {pass: null, revision: null}
lcd_hd44780_tmp_8_line.jal: {pass: null, revision: null}
lcd_st7036.jal: {pass: null, revision: null}
lcd_st7036_and_rtc_ds1302.jal: {pass: null, revision: null}
rtc_ds1302.jal: {pass: null, revision: null}
tests: {}
16f877a:
samples:
b16f877a.jal: {pass: null, revision: null}
hello_world_lcd.jal: {pass: true, revision: null}
keyboard_lcd.jal: {pass: false, revision: null}
lcd_format.jal: {pass: true, revision: null}
print_serial_numbers.jal: {pass: true, revision: null}
pwm_led.jal: {pass: true, revision: null}
read_co2_t6603.jal: {pass: null, revision: null}
tests:
test_blink.jal: {pass: null, revision: null}
test_i2c_hw_l0.jal: {pass: null, revision: null}
test_i2c_sw_l0.jal: {pass: null, revision: null}
test_lcd_hd44780_4.jal: {pass: null, revision: null}
test_pwm1.jal: {pass: null, revision: null}
test_pwm2.jal: {pass: null, revision: null}
test_serial_format.jal: {pass: null, revision: null}
test_serial_hardware.jal: {pass: null, revision: null}
16f88:
samples:
adc_lowres.jal: {pass: true, revision: null}
b16f88.jal: {pass: true, revision: null}
delay_basic.jal: {pass: true, revision: null}
print_serial_numbers.jal: {pass: true, revision: null}
pwm_led.jal: {pass: true, revision: null}
pwm_led_highres.jal: {pass: true, revision: null}
pwm_sound.jal: {pass: false, revision: null}
remember_me.jal: {pass: true, revision: null}
serial_hw_echo.jal: {pass: false, revision: null}
serial_hw_int_cts_echo.jal: {pass: true, revision: null}
serial_sw_echo.jal: {pass: true, revision: null}
tests:
test_blink.jal: {pass: null, revision: null}
test_i2c_hw_l0.jal: {pass: null, revision: null}
test_i2c_sw_l0.jal: {pass: null, revision: null}
test_lcd_hd44780_4.jal: {pass: null, revision: null}
test_pwm1.jal: {pass: null, revision: null}
16f882:
samples:
b16f882.jal: {pass: true, revision: null}
tests: {}
16f883:
samples:
b16f883.jal: {pass: false, revision: null}
tests: {}
16f884:
samples:
b16f884.jal: {pass: null, revision: null}
tests: {}
| PIC | Testing meter | Libraries | ||||||
|---|---|---|---|---|---|---|---|---|
| 16f877 |
not tested
|
number of tests: 6 pass: 0 fail: 0 unknown: 6
|
||||||
| 16f877a |
risky
|
number of tests: 15 pass: 4 fail: 1 unknown: 10
|
||||||
| 16f88 |
average
|
number of tests: 16 pass: 9 fail: 2 unknown: 5
|
||||||
| 16f882 |
oh my...
|
number of tests: 1 pass: 1 fail: 0 unknown: 0
|
||||||
| 16f883 |
not supported
|
number of tests: 1 pass: 0 fail: 1 unknown: 0
|
||||||
| 16f884 |
not tested
|
number of tests: 1 pass: 0 fail: 0 unknown: 1
|
