项目作者: iranika

项目描述 :
F#Interactive + canopy = smart test coding
高级语言: F#
项目地址: git://github.com/iranika/collie.git
创建时间: 2020-09-03T07:44:44Z
项目社区:https://github.com/iranika/collie

开源协议:MIT License

下载


collie

F#Interactive + canopy( web test framework ) = smart test coding

日本語のREADME <- README.ja.md

Demo

How to use?

Note: You will need to rewrite the chrome driver version to match your environment.

in canopy-befor-use-fs5.fsx

  1. #r "nuget: Selenium.WebDriver"
  2. #r "nuget: canopy"
  3. //this version number.
  4. #r "nuget: Selenium.WebDriver.ChromeDriver, 85.0.4183.8700"
  5. open canopy
  6. open canopy.runner.classic
  7. open canopy.configuration
  8. open canopy.classic
  9. open canopy.reporters
  10. open System
  11. let driverDir = match System.Environment.OSVersion.Platform with
  12. // this version number //
  13. | System.PlatformID.Win32NT -> System.Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "\\.nuget\\packages\\selenium.webDriver.chromedriver\\85.0.4183.8700\\driver\\win32"
  14. | System.PlatformID.Unix -> System.Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "/.nuget/packages/selenium.webDriver.chromedriver/85.0.4183.8700/driver/mac64"
  15. canopy.configuration.chromeDir <- driverDir
  16. reporter <- new JUnitReporter("./TestResults.xml")
  17. start chrome

I am looking for a good fix, but haven’t found one yet.

using scoop

Note: Scoop is package manager for windows.
When using Scoop, the dependency dotnet cli will be resolved by Scoop.

  1. > scoop install https://raw.githubusercontent.com/iranika/collie/main/collie.json
  2. > collie

using git

You need install dotnet cli.

  1. > git clone https://github.com/iranika/collie.git
  2. > cd collie
  3. > ./collie.ps1