sofastack / sofa-acts

ACTS is a white box testing framework based on data model drivers.
https://www.sofastack.tech/sofa-acts/docs/Home
Apache License 2.0
305 stars 86 forks source link

Adapt to popular operating systems #6

Closed binghx closed 5 years ago

binghx commented 5 years ago

Formerly based on the Mac operating system, it is now adapted to various popular operating systems.

codecov[bot] commented 5 years ago

Codecov Report

Merging #6 into master will increase coverage by 0.03%. The diff coverage is 63.63%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master       #6      +/-   ##
============================================
+ Coverage      46.4%   46.43%   +0.03%     
- Complexity      623      624       +1     
============================================
  Files            56       56              
  Lines          4310     4307       -3     
  Branches        790      790              
============================================
  Hits           2000     2000              
+ Misses         1876     1872       -4     
- Partials        434      435       +1
Impacted Files Coverage Δ Complexity Δ
...acts/object/generator/impl/ArrayTypeGenerator.java 36% <0%> (ø) 6 <0> (ø) :arrow_down:
.../object/generator/impl/ArrayListTypeGenerator.java 40.81% <100%> (ø) 8 <0> (ø) :arrow_down:
...va/com/alipay/test/acts/util/FileOperateUtils.java 62.26% <100%> (ø) 13 <0> (ø) :arrow_down:
...t/acts/object/generator/impl/MapTypeGenerator.java 53.33% <100%> (ø) 8 <0> (ø) :arrow_down:
.../acts/object/generator/impl/ListTypeGenerator.java 53.19% <100%> (ø) 10 <0> (ø) :arrow_down:
...ay/test/acts/object/processor/ObjectProcessor.java 44.47% <100%> (ø) 34 <0> (ø) :arrow_down:
...in/java/com/alipay/test/acts/helper/CSVHelper.java 49.7% <33.33%> (-0.3%) 18 <1> (ø)
.../main/java/com/alipay/test/acts/util/FileUtil.java 32.95% <50%> (ø) 9 <0> (ø) :arrow_down:
...in/java/com/alipay/test/acts/util/CSVApisUtil.java 40.29% <60%> (-0.26%) 42 <1> (ø)
...va/com/alipay/test/acts/object/ActsObjectUtil.java 46.05% <0%> (+3.94%) 12% <0%> (+2%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f812bf4...64e8fb0. Read the comment docs.

elseifer commented 5 years ago

是否遇到操作系统平台不同而导致路径错误的案例么? 方便的话可以将问题场景列出。我在代码中找到的路径传入入口,已经对Widows平台的路径分隔符进行了处理。 finalPath = StringUtil.replace(finalPath, "\\", "/") + "/src/test/resources/";