This moqing framework is so complex that I might have to test my test code itself...
@PrafullakumarSahuprofile
5 жыл бұрын
ha ha ha right
@PremaPrema-ev6pz
4 жыл бұрын
akab211 w
@2Fast4Mellow
5 жыл бұрын
Too bad the previous episodes aren't links! Makes is much harder that it needs to be to view other episodes. Sometimes you start to wonder if people that create KZitem videos every use KZitem themselves..
@phealy02
4 жыл бұрын
Episode1: kzitem.info/news/bejne/qZ6I3Itnm2Z6qoI Episode2: kzitem.info/news/bejne/wm2frYB3r5ecp2k (previous to the episode above)
@SteversIO
3 жыл бұрын
Thank you for posting this!
@haskell3702
Жыл бұрын
Very good tour
@PedroSousa-np9wp
4 жыл бұрын
This was indeed a lot of drinking from the fire hose.
@kbinoyn1
5 жыл бұрын
Lazy presentation :P. Manager, Presenter both look sleepy
@GaryJohnWalker1
5 жыл бұрын
Just got into using Moq rather than copying and modifying (apis- nearly all the same) this very last week. And have to say it looks worse than it is once you dig in. So, just use it!
@ronsmith6912
3 жыл бұрын
Thanks for this. This is really good.
@MrMithgroth
5 жыл бұрын
0:27 "And today... Mock You!"
@mamyname
4 жыл бұрын
Here's something I don't really understand with MOQ, If you faking the svc calls, and the data in and data out.. how can you guarantee that the svc or method is working as expected?
@rodrigoferraz4058
4 жыл бұрын
Cause if you change the code, and depending on what you decided to test, it will accuse an error
@davidbieber4659
4 жыл бұрын
You wouldn't do that here. You would need a set of integration tests that you run less often (maybe before a production release) that would test the integration of the service with your code. This is called an integration test.
@gpzim981
3 жыл бұрын
Both, specially the watcher/manager is very sleepy and makes the whole video seems very sloppy
@haskell3702
Жыл бұрын
👏👏👏
@StephanMiske
5 жыл бұрын
You seem to skip over how to test File IO, I thought you mentioned it in the xUnit video. It seam you can only get files in the bin Directory. what about running on build servers?
@Qrzychu92
5 жыл бұрын
You can put them as Resources in the DLL (Build action "Embedded Resource"), and then load the file with: var asm = Assembly.GetExecutingAssembly(); var resource = string.Format("YourNamespace.{0}", filename); using (var stream = asm.GetManifestResourceStream(resource)) { if (stream != null) { var reader = new StreamReader(stream); return reader.ReadToEnd(); } } return null;
@TheSecuror
5 жыл бұрын
a few beers later? :P Interesting topic non the less
@iceniveth
5 жыл бұрын
Robert looks tired
@auchucknorris
2 жыл бұрын
dudes knew it was crashing server and didn't realize getting all customers was an issue lol, and costmers are required to query products?.. sounds like REALLY bad logic or table design lol
Пікірлер: 25