Giter Club home page Giter Club logo

Comments (7)

csantanapr avatar csantanapr commented on May 30, 2024

I was not able to run the integrations tests running npm run test-integration

from openwhisk-client-js.

jthomas avatar jthomas commented on May 30, 2024

@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.

csantanapr avatar csantanapr commented on May 30, 2024

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.

jthomas avatar jthomas commented on May 30, 2024

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.

csantanapr avatar csantanapr commented on May 30, 2024

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.

jthomas avatar jthomas commented on May 30, 2024

We should put a note in the README.md with a link to that document.

from openwhisk-client-js.

jberstler avatar jberstler commented on May 30, 2024

Resolved by #59

from openwhisk-client-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.