SapientGuardian / mysql-connector-net-netstandard

ADO.NET driver for MySQL targeted against netstandard 1.3
GNU General Public License v2.0
46 stars 15 forks source link

Create new tests project for dotnetcore #5

Open eByte23 opened 8 years ago

eByte23 commented 8 years ago

Create a new project for dotnetcore, try to utiliseold test as much as possible.

Convert NUnit tests to XUnit so that they run under dotnet test with xunit runner.

eByte23 commented 8 years ago

I'm doing this, just as a place holder to say we are doing :smile:

SapientGuardian commented 8 years ago

:+1:

eByte23 commented 8 years ago

Should have something today i was trying to reutilse alot of the original test and multi target so i could it wouldn't break old tests, but i can't even build any of the previous projects in vs15. And there is a bug in multiargeting with includes and excludes in project. json sigh

So ill just make it work rc2 ha in new tests

SapientGuardian commented 8 years ago

I spent a few minutes trying to make the existing tests work. It looks like there's a few problems, which shouldn't be insurmountable:

At this point, any tests would be good; so if writing your own is the quickest path to that, I'll take it. If Oracle ends up taking so long on their .net core build that a lot of people start to use this fork, it may be worth the effort to get the existing tests working.

eByte23 commented 8 years ago

Yeah it's not to hard to reuse alot of the previous test I just could really test for sure that I would break them so I'm going to copy the to begin with. You can reference nunitlite as a replacement for normal nunit

I was trying to future proof so it could be used in backwards compat. But i'm just going to make it work then look at that later.

eByte23 commented 8 years ago

Just getting back to this test business....and tests are running looks like we have a lot failing haha.... BeginExecuteReader and EndExecuteReader don't work at all, the AsyncDelegate is not implemented in .net core throws an exception, I guess no one is using it haha