Produced by Araxis Merge on 10/3/2017 11:16:08 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | ehmp.zip\ehmp\ehmp\product\tests\regression-tests | regression_one.rb | Tue Jan 10 16:20:50 2017 UTC |
| 2 | ehmp.zip\ehmp\ehmp\product\tests\regression-tests | regression_one.rb | Tue Oct 3 14:49:45 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 176 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | require '. /regressio n_one/appo intments.r b' | |
| 2 | require '. /regressio n_one/bed_ control.rb ' | |
| 3 | require '. /regressio n_one/regi stration.r b' | |
| 4 | require '. /regressio n_one/lab. rb' | |
| 5 | require '. /regressio n_one/alle rgies.rb' | |
| 6 | require '. /regressio n_one/bcma .rb' | |
| 7 | require '. /regressio n_one/iv_o rder.rb' | |
| 8 | require '. /regressio n_one/outp atient_pha rmacy.rb' | |
| 9 | require '. /regressio n_one/radi ology.rb' | |
| 10 | require '. /regressio n_one/unit _dose.rb' | |
| 11 | require '. ./knife-he lper.rb' | |
| 12 | ||
| 13 | driver = A RGV[0] || "virtualbo x" | |
| 14 | ||
| 15 | options = { | |
| 16 | server: knife_sear ch_for_ip( "vista-pan orama"), | |
| 17 | user: driv er == "aws " ? " REDACTED " : "vagra nt", | |
| 18 | password : "vagrant ", | |
| 19 | patient: "regressi on,female" , | |
| 20 | sudo: tr ue, | |
| 21 | ssh_key: true, | |
| 22 | ssh_key_ path: knif e_search_f or_key_nam e("vista-p anorama", driver) | |
| 23 | } | |
| 24 | ||
| 25 | Dir.mkdir( "./logs") unless Dir .exists?(" ./logs") | |
| 26 | ||
| 27 | count = 0 | |
| 28 | ||
| 29 | appointmen ts = Appoi ntments.ne w | |
| 30 | if appoint ments.run( options) | |
| 31 | co unt = coun t + 1 | |
| 32 | end | |
| 33 | ||
| 34 | bed = Bed_ Control.ne w | |
| 35 | if bed.run (options) | |
| 36 | co unt = coun t + 1 | |
| 37 | end | |
| 38 | ||
| 39 | registrati on = Regis tration.ne w | |
| 40 | if registr ation.run( options) | |
| 41 | co unt = coun t + 1 | |
| 42 | end | |
| 43 | ||
| 44 | ||
| 45 | lab = Lab. new | |
| 46 | if lab.run (options) | |
| 47 | co unt = coun t + 1 | |
| 48 | end | |
| 49 | ||
| 50 | ||
| 51 | allergy = Allergy.ne w | |
| 52 | if allergy .run(optio ns) | |
| 53 | co unt = coun t + 1 | |
| 54 | end | |
| 55 | ||
| 56 | bcma = BCM A.new | |
| 57 | if bcma.ru n(options) | |
| 58 | co unt = coun t + 1 | |
| 59 | end | |
| 60 | ||
| 61 | ||
| 62 | pharmacy = Outpatien t.new | |
| 63 | if pharmac y.run(opti ons) | |
| 64 | co unt = coun t + 1 | |
| 65 | end | |
| 66 | ||
| 67 | ||
| 68 | rad = Radi ology.new | |
| 69 | if rad.run (options) | |
| 70 | co unt = coun t + 1 | |
| 71 | end | |
| 72 | ||
| 73 | unit = Uni tDose.new | |
| 74 | if unit.ru n(options) | |
| 75 | co unt = coun t + 1 | |
| 76 | end | |
| 77 | ||
| 78 | ||
| 79 | iv = IVOrd er.new | |
| 80 | if iv.run( options) | |
| 81 | co unt = coun t + 1 | |
| 82 | end | |
| 83 | ||
| 84 | puts "#{co unt}/10 te sts passed " | |
| 85 | ||
| 86 | ||
| 87 | if count ! = 10 | |
| 88 | ra ise Runtim eError, "r egression one failed to pass a ll tests" | |
| 89 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.