dn
dn copied to clipboard
Integration Testing for Restore and Build
Priority: P0
Estimate: 1-2 hours
Status: Not Started
Depends on: Task 4.2 - Add Package References to Compiler
Description
Create comprehensive integration tests for the restore → build workflow.
Tasks
- [ ] Create test project with PackageReferences
- [ ] Test
dn restore→dn buildworkflow - [ ] Test build without restore (should fail gracefully)
- [ ] Test build after package update
- [ ] Add to DnTests suite
Files to create/modify
-
tests/test_restore/(expand existing) -
tests/DnTests/RestoreBuildTests.cs(new)
Acceptance criteria
- Can restore → build a project using Newtonsoft.Json
- Can use types from restored packages
- Build fails clearly if restore not run
Phase
🔴 CRITICAL - Phase 4: Complete Restore Integration