Find Jobs
Hire Freelancers

Provide me with a solution on how to perform integration testing on EF Core migrations

$30-250 AUD

완료함
게시됨 약 5년 전

$30-250 AUD

제출할때 지불됩니다
I require a brief consultation and perhaps a demo project that provides a Proof of Concept. The details can be found on this StackOverflow thread: [login to view URL] I expect this to take around 4 hours, a bulk of which would go towards communicating online. Ideally you'd have previous experience with integration testing EF Core migrations. NOTE: Do NOT message me or place a bid until you've displayed that you've actually understood the issue by answering the question that follows the scenario below: Scenario: Your application has an initial migration and the corresponding data model contains a single entity: User. This class consists of a few properties, for e.g., string FirstName, string LastName, string Email, string Phone. The application is set to apply migrations on startup using [login to view URL](). Now you release v1 of the application and several users sign up, so your DB contains actual data. You then decide to combine the first and last name properties, so you modify User to now only contain: string Name. You then add a migration, which will remove columns for FirstName/LastName as well as add one for Name (in its Up method). Finally, you add a test case to your test project, where you do the following: Arrange:- - Perform a [login to view URL]() during test setup - Create and instance of your User entity Act:- - Call a service to add the above User entity to your DB - Call a service to retrieve all Users from your DB Assert:- - Verify that the Users retrieved has a count of 1 and for the first result, the User has the same properties as the one added. Question: What have you missed?
프로젝트 ID: 18912168

프로젝트 정보

5 제안서
원격근무 프로젝트
활동 중 5년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
프로젝트를 수여된 사용자:
사용자 아바타
Hello Ash, I believe we are in accordance with this project as per discussed in our last project chat. I've conducted the modifications we discussed earlier. This is now an xUnit test project [rather than console] and the data is added as a simple object via DataContext [instead of initial migration]. I'll let you know about assumptions I did before working on this project: 1- We have a clean application, with a clean assembly, that have a single migration called "InitialCreate" that would create the database when executed. 2- This assembly was updated in a later version and "ConcatNames" migration was created; thus, executing the latter migration updated the database to the version of "ConcatNames" because it's the latest migration on that assembly, not because I've set the migration name in the app somewhere. In this test, I created 2 separate assemblies where the latter stacks on the first (copied the first's contents into the second and conducted the second migration on the second assembly) to simulate version update. Sincerely, Aly El-Haddad
$120 AUD 1일에
5.0 (7 건의 리뷰)
3.4
3.4
5 이 프로젝트에 프리랜서들의 평균 입찰은 $153 AUD입니다.
사용자 아바타
Hello sir, Thanks for watching my message. I have huge experience in .netcore, package manager console. Migrating code first approach. I can solve your issue-> add-migration initial then update-db.
$30 AUD 1일에
5.0 (33 건의 리뷰)
6.3
6.3
사용자 아바타
Hello, I have gone through your job posting and become very much interested to work with you. I am an expert in this field. I have already completed several projects like this. For evidence you can see my profile. Please visit : https://www.freelancer.com/u/schoudhary1553 I have excellent command over English. I am a hard worker, productive and worthy of your attention I hope, I would be the right candidate for this post. Awaiting an affirmative response from you. Kinds Regards, Sandeep
$250 AUD 4일에
5.0 (11 건의 리뷰)
5.1
5.1
사용자 아바타
Hi, I can start work on your project immediately once you confirm me and I am also open for further discussion if you want. I have 8+ years in web design & development with good experience in ASP.net Thanks
$208 AUD 3일에
0.0 (1 건의 리뷰)
2.0
2.0

고객에 대한 정보

국기 (AUSTRALIA)
Melbourne, Australia
5.0
10
결제 수단 확인
5월 23, 2017부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.