octokit.net icon indicating copy to clipboard operation
octokit.net copied to clipboard

Have CI run the integration tests

Open half-ogre opened this issue 12 years ago • 4 comments

half-ogre avatar Oct 30 '13 23:10 half-ogre

Hi,

I added a IntegrationTest target for this. But how do you want to specify the user? Evironment-Variable? Build-Param? Constant?

https://github.com/forki/octokit.net/commit/bcb723ec5fae076d9fc45b7b41afb1e08177cbd2#diff-6074983490330a0aac1bd23c958232d7R39

Cheers, Steffen

forki avatar Oct 31 '13 14:10 forki

Sorry @forki, I should have mentioned when I created this issue that we use an environment variable and an xUnit class to run the integration tests. All the code is done, I just need to set the environment variables up on our current CI server (and maybe revisit this when we move to a new CI server).

I'm so sorry you did that work because I didn't note this adequately!

half-ogre avatar Oct 31 '13 14:10 half-ogre

No it's all fine. Then my solution will work out of the box.

forki avatar Oct 31 '13 14:10 forki

yep integration tests work. see https://github.com/octokit-integration-tests

You can set it using environment variables OR in the build.bat like:

image

forki avatar Oct 31 '13 20:10 forki

👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!

github-actions[bot] avatar Aug 03 '23 01:08 github-actions[bot]