Your SlideShare is downloading. ×
0
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
2013 02-26 - Software Tests with Mongo db
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

2013 02-26 - Software Tests with Mongo db

1,638

Published on

Quality matters. That’s why we write software tests. They give us confidence to release complex business applications. In a schema-free world they are going to be our escape rope! This talk introduces …

Quality matters. That’s why we write software tests. They give us confidence to release complex business applications. In a schema-free world they are going to be our escape rope! This talk introduces some Unit Testing principles and separates them from Integration Tests. We will see how other databases solve common problems and how we can archive the same with MongoDB. Of course, you can expect some Test Driven Development (TDD).

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,638
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. 
  • 2. “ ” J.B. Rainsberger
  • 3.
  • 4. using (var documentStore = new EmbeddableDocumentStore{ RunInMemory = true}.Initialize()){ using (var session = documentStore.OpenSession()) { // Run complex test scenarious }}
  • 5. https://nuget.org/packages/Mongo2Go/
  • 6. using (var runner = MongoDbRunner.Start()){ var collection = new MongoClient(runner.ConnectionString) .GetServer() .GetDatabase("TestDatabase") .GetCollection<TestDocument>("TestCollection"); // Run complex test scenarious}

×