Skip to content

Comments

Create dotnet testrunner#87

Merged
brendandburns merged 14 commits intometaparticle-io:masterfrom
srini85:create-dotnet-testrunner
Mar 7, 2018
Merged

Create dotnet testrunner#87
brendandburns merged 14 commits intometaparticle-io:masterfrom
srini85:create-dotnet-testrunner

Conversation

@srini85
Copy link
Contributor

@srini85 srini85 commented Jan 28, 2018

@brendanburns - this is my PR for thoughts around #75
Appreciate your thoughts on this

srini85 and others added 10 commits January 14, 2018 10:34
renamed env vars to be conssitent and also moved braces to new lines
* add initial travis file

* fix up missing dash

* try again going into the right directory this time

* no need for mono and we can set the dotnet core version

* make build.sh executable

* see what directory we are on

* set to unix type

* build the examples
@brendandburns
Copy link
Contributor

LGTM, needs a rebase, but then ready to merge...

@srini85
Copy link
Contributor Author

srini85 commented Jan 29, 2018

@brendandburns - thanks, fixed conflicts

@srini85
Copy link
Contributor Author

srini85 commented Feb 5, 2018

@brendandburns - any thoughts or suggestions on getting this one merged?

@brendandburns
Copy link
Contributor

brendandburns commented Feb 5, 2018 via email

@srini85
Copy link
Contributor Author

srini85 commented Feb 5, 2018

Thanks mate.. appreciate it


private void RunTests()
{
var testsAsCsv = System.Environment.GetEnvironmentVariable("METAPARTICLE_TESTS_CSV");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than do this, can we use a [Tests ... ] annotation?

@brendandburns
Copy link
Contributor

Sorry for the delay in reviewing. I think this is great, but I would prefer this manifest as an attribute in the code, rather than an environment variable.

So it would be something like:

[Tests.Config names=["foo", "bar"]]
[Runtime.Config ...]
public void main(...) {
...
}

Just like Runtime.Config and Package.Config are attributes.

@brendandburns
Copy link
Contributor

If you switch to an Attribute, I think this is ready to merge. (again, apologies for the delay in responding...)

@srini85
Copy link
Contributor Author

srini85 commented Feb 18, 2018

Thanks @brendandburns - no issues with the delay. Will try to get that done this week.

@srini85
Copy link
Contributor Author

srini85 commented Feb 25, 2018

@brendandburns - sorry for delay but finally got around to making the tests configuration attribute based. Thanks for suggesting a really clean approach!

@srini85
Copy link
Contributor Author

srini85 commented Mar 5, 2018

@brendandburns any luck with this one? Let me know if you need any changes made

@brendandburns
Copy link
Contributor

LGTM, thanks! (and apologies for the delay...)

@brendandburns brendandburns merged commit 222dcb6 into metaparticle-io:master Mar 7, 2018
srini85 added a commit to srini85/package that referenced this pull request Sep 19, 2018
* Updated Java package tutorial instructions (metaparticle-io#110)

* Correct the expected value of the @Package/repository value
* Mention the need for the @Package/publish=true field
* Removed use of the @Runtime/publicAddress field since the tutorial does not appear to be ACI specific
* Correct the type of service created on the remote Kubernetes cluster

* Added missing unit test dependencies (metaparticle-io#109)

* Update README.md (metaparticle-io#106)

Slight typo. "a nd language of choice" ===> "and language of choice"

* Create dotnet testrunner (metaparticle-io#87)

* fix up examples and documentation

* fix up indenting

* add initial code for a dotnet test runner as part of metaparticle

* add missed file

* renamed env vars to be conssitent and also moved braces to new lines

* Add travis for dotnet (#3)

* add initial travis file

* fix up missing dash

* try again going into the right directory this time

* no need for mono and we can set the dotnet core version

* make build.sh executable

* see what directory we are on

* set to unix type

* build the examples

* move tests to attributes rather than using env var

* Initial Set of Unit Tests For DotNet Metaparticle.Package (metaparticle-io#111)

* Create unit test project and added tests for Metaparticle.Package.Config

* Added unit tests for Config and an initial set of tests for the Driver

* Minor update to Java sharding tutorial instructions (metaparticle-io#112) (metaparticle-io#113)

* Fix typo in tutorial (metaparticle-io#114)

* Support containerizing of Spring Boot apps (metaparticle-io#115)

* Necessary to upgrade PowerMock version in order to run tests
* Additions to gitignore file

* Support sharding. (metaparticle-io#118)

* Update definition of local functions with explicit const (metaparticle-io#120)

* Add some words on Spring Boot support to package Java tutorial (metaparticle-io#121)

* Follow up to previous PR for issue metaparticle-io#6

* Lazy intialize the Docker client. (metaparticle-io#119)

* Fix missing comma, go fmt (metaparticle-io#122)

* Adding rust (metaparticle-io#86)

* learned a touch of rust

* no decorator

* base rust entrypoint

* with bare docker builder and executor (#3)

* Real traits jim (#4)

* add placeholder functions for actual interface
* move builder trait into builder module
* move docker builder struct into correct module
* move existing functions onto trait implementation
* move executor trait to appropriate module
* move executor struct into correct module

* initial builder working

* added docker run support; cleaned up command execs

* refactor to str refs; added readme

* We need strings here, I think

The result of the format! call is a string, (as is the result
of other ways of getting a u64 into a string).

This change makes the method compile without changing anything's
type signature. There might be other was to accomplish this,
but I haven't found one.

* added web example

* use executable's path as Docker context

* wrapped docker cmds in sh

* write dockerfile to docker context explicitly

* fix copy paste error in README

* Python fix + cleanup (metaparticle-io#123)

* general cleanup

* nested options should be processed into objects from dictionaries

* comments on logging; pythonic json read

* Drive-by cleanups (metaparticle-io#126)

* Let requirements match the latest version

* Make print statements Python3-compatible

* insulate more against Py2 -> Py3 changes

* Add python additionalFiles option (metaparticle-io#125)

* add python additionalFiles option

* in case a dir is given

* added tests for additionalFiles

* Lazy intialize the Docker client. (metaparticle-io#127)

* more efficient base image (metaparticle-io#131)

* more efficient base image

* squashed layers

* removed breaking character

* adding certs

* sized down to 6mb and tested with simple http server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants