Actually, using [Setup] so that it runs before any test is run might be a better idea, as individual tests don’t cleanup after themselves.

 

I didn’t want to add the overhead to the other tests but if you want I can change it.

 

De: Sebastian Iacomuzzi [mailto:notifications@github.com] 
Enviado el: viernes, 06 de diciembre de 2013 07:00 p.m.
Para: auth0/auth0.net
CC: nicosabena
Asunto: Re: [auth0.net] New methods and constructor parameters validation. (#7)

 

In Auth0.Net-tests/UsersTests.cs:

> @@ -216,5 +220,107 @@ public void can_use_autopaged_to_enumerate_all_enterprise_users_by_connection()
>              // Ensure same user not returned twice
>              users.AutoPaged().Select(u => u.GetHashCode()).Distinct().Count().Should().Be.EqualTo(count);
>          }
> +
> +        [Test]
> +        public void can_create_user()
> +        {
> +            DeleteIfFound("john@contoso.com");

You could call this method only once from TestFixtureSetUp

—
Reply to this email directly or view it on GitHub <https://github.com/auth0/auth0.net/pull/7/files#r8175435> .