Comments (4)
As a separate project, we need to have the tests written in Go, and establish the test environment in Travis.
define the purpose of the tests first.
if these are unit tests, it makes sense to have the tests in the same language framework as the rest of the code.
if there are integration tests, i would reconsider.
from openwhisk-cli.
@rabbah @dubeejw @mdeuser From my perspective, it is also good for us to keep the integration tests consistent with the development language as well. This lows the bar for new contributors coming into this project, and reduces the complexity of setting up this project. Folks won't have the confusion of why to maintain the development and test in two languages.
from openwhisk-cli.
@houshengbo agree with the intent; however, if we have existing tests that need to be rewritten to Go, then we should treat that as a lower priority over the general separation/plugable framework goal. Of course we should identify new tests and their purpose as @rabbah indicated above and record those each as issues of their own. This issue sounds more like a general epic (goal) or placeholder and doubt it can carry all possible tests/code.
from openwhisk-cli.
We have started suites for such test here:
https://github.com/apache/incubator-openwhisk-cli/blob/master/commands/trigger_test.go
https://github.com/apache/incubator-openwhisk-cli/blob/master/commands/action_test.go
It should be a matter of project policy now to add tests for new functionality here and grow the suite. There are certain features that are easier to test this way.
from openwhisk-cli.
Related Issues (20)
- cannot recreate API from exported swagger HOT 1
- AUR Package
- bad CPU type in executable: wsk (macOS 10.15 Catalina) HOT 4
- `wsk api` command should display domain alias url as well
- wsk activation pollSince should be more than activation start
- How to invoke a web action for .json context extension via wsk command? HOT 6
- package bind should support updating a binding HOT 4
- wsk should remove trailing slash on apihost HOT 1
- Could not open settings remapped class cache HOT 9
- CLI, wsk property get results in runtime error: index out of range Application exited unexpectedly error HOT 8
- %0D getting added to APIHOST property of wskprops HOT 3
- Rust file (.rs) is not a supported action runtime HOT 3
- Unresolved reference 'Asset' HOT 1
- Task :goI18n FAILED, on Aarch64 HOT 3
- Benchmarking reflection API calls, via ReportAllocs()
- Is there some way to run `wsk` on Apple m1 chip? HOT 2
- Build fail for cli HOT 1
- how to set a https proxy for wsk HOT 2
- Upgrade SSL lib to avoid deprecated problem
- openwhisk-cli Build failed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwhisk-cli.