Comments (7)
I was not able to run the integrations tests running npm run test-integration
from openwhisk-client-js.
@csantanapr Can you provide more details about what exactly failed?
I have run them recently and didn't have any issues but that's using my setup :)
from openwhisk-client-js.
There are no instructions what environment variables I need to set before running the tests, namespace should not be required, user should be able to just use _
but the tests query the api and use the namespace value [email protected]_dev
to check
Also I had a package demo/ with action hello in my namespace, one of the tests failed to list actions, since doing a get on the action returns namespace:[email protected]_dev/demo
NS plus package and the test always assume that there is no package present in namespace
field.
This is all I recall, if we setup travis integration, meaning deploying openwhisk, and then running the tests using the guest ow key, it should reveal how to run the tests and what instructions we need to document for a contributor trying to run test locally before sending a PR.
from openwhisk-client-js.
Did you see these instructions?
https://github.com/openwhisk/openwhisk-client-js/tree/master/test/integration
I've been using a "test" namespace with the assets in to isolate the results.
Having the integration tests run using Travis is a good idea. If someone has time to look at this, it would be great.
from openwhisk-client-js.
No I didn't saw them 🤦♂️
But they are manual steps we should not have any manual steps
And user should not set namespace value we should use _ and then use the ok to get the namespace value
from openwhisk-client-js.
We should put a note in the README.md with a link to that document.
from openwhisk-client-js.
Resolved by #59
from openwhisk-client-js.
Related Issues (20)
- main.d.ts (typescript declarations) are a missing some optional arguments HOT 1
- Remove `version` option from actions
- Integration tests are broken with feed testing failing.
- Update package dependencies to latest versions.
- Add CI/CD tools for NPM module dependency management. HOT 3
- CI/CD pipeline should test on all Node.js versions in runtime-nodejs
- Remove use of whisk.system packages in integration tests HOT 1
- result only action invokes are not setting proper query parameter
- blocking invoke that is demoted is not handled correctly HOT 1
- Error occurs in typescript project HOT 6
- Allow clients to override the namespace for the api gateway APIs
- Propagate __OW_TRANSACTION_ID when invoking actions
- Unable to create trigger with feed
- Unable to create web and web-secure action HOT 2
- OpenWhiskError message missing activation id HOT 1
- typings do not allow for nodejs:10 action kind HOT 1
- Typescript types incorrect: Missing 'main' property from Action.Exec
- service requests modify query string with every retry
- Missing parameter 'id' in actions.list()
- Please publish a new minor version 3.22.0 HOT 4
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-client-js.