묻고 답해요
169만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결
1Z0-829 Dumps Questions Answers | Start Preparing Today
1Z0-829 Exam Dumps 2026 – Prepare Smarter and Achieve Certification SuccessEarning the 1Z0-829 certification is an excellent way to validate your professional skills and enhance your career opportunities. However, success in the exam requires proper preparation, a clear study plan, and reliable learning resources. Using updated 1Z0-829 exam dumps can help candidates focus on important topics and gain a better understanding of the exam format.Why Choose Updated 1Z0-829 Exam Dumps?The 1Z0-829 certification exam evaluates both theoretical knowledge and practical understanding. Reviewing the latest 1Z0-829 exam questions helps candidates become familiar with question patterns, improve their confidence, and strengthen their problem-solving skills.1Z0-829 PDF study materials provide the flexibility to learn anytime and anywhere. Whether you are studying at home, during breaks, or while traveling, downloadable PDF resources make exam preparation more convenient and efficient.More Details for 1Z0-829 PDF Dumps: http://www.certsadvice.com/oracle/1z0-829-practice-questionsBenefits of 1Z0-829 Exam Preparation MaterialsAccess updated and relevant exam questionsUnderstand important exam objectives quicklyPractice with realistic exam-style questionsImprove time management skills through practice testsStudy on multiple devices using PDF formatsIncrease confidence before the actual examPrepare with CertsAdviceCertsAdvice offers updated 1Z0-829 exam questions, PDF study guides, and practice tests designed to help candidates prepare more effectively. These resources support focused learning and help candidates stay on track throughout their certification journey.Frequently Asked Questions (FAQs)What are 1Z0-829 exam dumps?1Z0-829 exam dumps are study resources that contain certification-related questions and answers to help candidates review key concepts and assess their exam readiness.How can practice tests help me prepare?Practice tests simulate the real exam environment, helping candidates identify weak areas, improve time management, and build confidence before exam day.Are 1Z0-829 PDF study materials useful?Yes. PDF study materials allow candidates to study conveniently across different devices and maintain a consistent learning schedule.Can updated exam questions improve preparation?Updated questions help candidates understand current exam objectives and focus on the most relevant topics for the certification exam.ConclusionAchieving 1Z0-829 certification requires dedication, consistent study, and effective preparation resources. By reviewing key concepts, practicing regularly, and using updated study materials, candidates can improve their understanding of the exam and approach test day with confidence.Save 50% on 1Z0-829 Study Materials Todayhttp://www.certsadvice.com/oracle/1z0-829-practice-questionsTake advantage of the latest CertsAdvice promotion and access high-quality 1Z0-829 preparation resources at a discounted price. Start preparing today and move one step closer to achieving your certification goals.
-
미해결
CCFH-202 Dumps | Prepare Efficiently with Updated Exam Questions
CCFH-202 Exam Dumps 2026 – Prepare Smarter and Achieve Certification SuccessEarning the CCFH-202 certification is an excellent way to validate your professional skills and enhance your career opportunities. However, success in the exam requires proper preparation, a clear study plan, and reliable learning resources. Using updated CCFH-202 exam dumps can help candidates focus on important topics and gain a better understanding of the exam format.Why Choose Updated CCFH-202 Exam Dumps?The CCFH-202 certification exam evaluates both theoretical knowledge and practical understanding. Reviewing the latest CCFH-202 exam questions helps candidates become familiar with question patterns, improve their confidence, and strengthen their problem-solving skills.CCFH-202 PDF study materials provide the flexibility to learn anytime and anywhere. Whether you are studying at home, during breaks, or while traveling, downloadable PDF resources make exam preparation more convenient and efficient.More Details for CCFH-202 PDF Dumps: http://www.certsadvice.com/crowdstrike/ccfh-202-practice-questionsBenefits of CCFH-202 Exam Preparation MaterialsAccess updated and relevant exam questionsUnderstand important exam objectives quicklyPractice with realistic exam-style questionsImprove time management skills through practice testsStudy on multiple devices using PDF formatsIncrease confidence before the actual examPrepare with CertsAdviceCertsAdvice offers updated CCFH-202 exam questions, PDF study guides, and practice tests designed to help candidates prepare more effectively. These resources support focused learning and help candidates stay on track throughout their certification journey.Frequently Asked Questions (FAQs)What are CCFH-202 exam dumps?CCFH-202 exam dumps are study resources that contain certification-related questions and answers to help candidates review key concepts and assess their exam readiness.How can practice tests help me prepare?Practice tests simulate the real exam environment, helping candidates identify weak areas, improve time management, and build confidence before exam day.Are CCFH-202 PDF study materials useful?Yes. PDF study materials allow candidates to study conveniently across different devices and maintain a consistent learning schedule.Can updated exam questions improve preparation?Updated questions help candidates understand current exam objectives and focus on the most relevant topics for the certification exam.ConclusionAchieving CCFH-202 certification requires dedication, consistent study, and effective preparation resources. By reviewing key concepts, practicing regularly, and using updated study materials, candidates can improve their understanding of the exam and approach test day with confidence.Save 50% on CCFH-202 Study Materials Todayhttp://www.certsadvice.com/crowdstrike/ccfh-202-practice-questionsTake advantage of the latest CertsAdvice promotion and access high-quality CCFH-202 preparation resources at a discounted price. Start preparing today and move one step closer to achieving your certification goals.
-
미해결
Real Adobe AD0-E722 Exam Dumps - Get Certified in 2026
AD0-E722 Exam Dumps 2026 – Prepare Smarter and Achieve Certification SuccessEarning the AD0-E722 certification is an excellent way to validate your professional skills and enhance your career opportunities. However, success in the exam requires proper preparation, a clear study plan, and reliable learning resources. Using updated AD0-E722 exam dumps can help candidates focus on important topics and gain a better understanding of the exam format.Why Choose Updated AD0-E722 Exam Dumps?The AD0-E722 certification exam evaluates both theoretical knowledge and practical understanding. Reviewing the latest AD0-E722 exam questions helps candidates become familiar with question patterns, improve their confidence, and strengthen their problem-solving skills.AD0-E722 PDF study materials provide the flexibility to learn anytime and anywhere. Whether you are studying at home, during breaks, or while traveling, downloadable PDF resources make exam preparation more convenient and efficient.More Details for AD0-E722 PDF Dumps: http://www.certsadvice.com/adobe/ad0-e722-practice-questionsBenefits of AD0-E722 Exam Preparation MaterialsAccess updated and relevant exam questionsUnderstand important exam objectives quicklyPractice with realistic exam-style questionsImprove time management skills through practice testsStudy on multiple devices using PDF formatsIncrease confidence before the actual examPrepare with CertsAdviceCertsAdvice offers updated AD0-E722 exam questions, PDF study guides, and practice tests designed to help candidates prepare more effectively. These resources support focused learning and help candidates stay on track throughout their certification journey.Frequently Asked Questions (FAQs)What are AD0-E722 exam dumps?AD0-E722 exam dumps are study resources that contain certification-related questions and answers to help candidates review key concepts and assess their exam readiness.How can practice tests help me prepare?Practice tests simulate the real exam environment, helping candidates identify weak areas, improve time management, and build confidence before exam day.Are AD0-E722 PDF study materials useful?Yes. PDF study materials allow candidates to study conveniently across different devices and maintain a consistent learning schedule.Can updated exam questions improve preparation?Updated questions help candidates understand current exam objectives and focus on the most relevant topics for the certification exam.ConclusionAchieving AD0-E722 certification requires dedication, consistent study, and effective preparation resources. By reviewing key concepts, practicing regularly, and using updated study materials, candidates can improve their understanding of the exam and approach test day with confidence.Save 50% on AD0-E722 Study Materials Todayhttp://www.certsadvice.com/adobe/ad0-e722-practice-questionsTake advantage of the latest CertsAdvice promotion and access high-quality AD0-E722 preparation resources at a discounted price. Start preparing today and move one step closer to achieving your certification goals.
-
미해결
C_TS412_2021 Dumps | Prepare Efficiently with Updated Exam Questions
C_TS412_2021 Exam Dumps 2026 – Prepare Smarter and Achieve Certification SuccessEarning the C_TS412_2021 certification is an excellent way to validate your professional skills and enhance your career opportunities. However, success in the exam requires proper preparation, a clear study plan, and reliable learning resources. Using updated C_TS412_2021 exam dumps can help candidates focus on important topics and gain a better understanding of the exam format.Why Choose Updated C_TS412_2021 Exam Dumps?The C_TS412_2021 certification exam evaluates both theoretical knowledge and practical understanding. Reviewing the latest C_TS412_2021 exam questions helps candidates become familiar with question patterns, improve their confidence, and strengthen their problem-solving skills.C_TS412_2021 PDF study materials provide the flexibility to learn anytime and anywhere. Whether you are studying at home, during breaks, or while traveling, downloadable PDF resources make exam preparation more convenient and efficient.More Details for C_TS412_2021 PDF Dumps: http://www.certsadvice.com/sap/c_ts412_2021-practice-questionsBenefits of C_TS412_2021 Exam Preparation MaterialsAccess updated and relevant exam questionsUnderstand important exam objectives quicklyPractice with realistic exam-style questionsImprove time management skills through practice testsStudy on multiple devices using PDF formatsIncrease confidence before the actual examPrepare with CertsAdviceCertsAdvice offers updated C_TS412_2021 exam questions, PDF study guides, and practice tests designed to help candidates prepare more effectively. These resources support focused learning and help candidates stay on track throughout their certification journey.Frequently Asked Questions (FAQs)What are C_TS412_2021 exam dumps?C_TS412_2021 exam dumps are study resources that contain certification-related questions and answers to help candidates review key concepts and assess their exam readiness.How can practice tests help me prepare?Practice tests simulate the real exam environment, helping candidates identify weak areas, improve time management, and build confidence before exam day.Are C_TS412_2021 PDF study materials useful?Yes. PDF study materials allow candidates to study conveniently across different devices and maintain a consistent learning schedule.Can updated exam questions improve preparation?Updated questions help candidates understand current exam objectives and focus on the most relevant topics for the certification exam.ConclusionAchieving C_TS412_2021 certification requires dedication, consistent study, and effective preparation resources. By reviewing key concepts, practicing regularly, and using updated study materials, candidates can improve their understanding of the exam and approach test day with confidence.Save 50% on C_TS412_2021 Study Materials Todayhttp://www.certsadvice.com/sap/c_ts412_2021-practice-questionsTake advantage of the latest CertsAdvice promotion and access high-quality C_TS412_2021 preparation resources at a discounted price. Start preparing today and move one step closer to achieving your certification goals.
-
미해결
Why Short Clear Study Works Better for Oracle 1Z0-078 Exams
1Z0-078 Exam Dumps 2026 – Prepare Smarter and Achieve Certification SuccessEarning the 1Z0-078 certification is an excellent way to validate your professional skills and enhance your career opportunities. However, success in the exam requires proper preparation, a clear study plan, and reliable learning resources. Using updated 1Z0-078 exam dumps can help candidates focus on important topics and gain a better understanding of the exam format.Why Choose Updated 1Z0-078 Exam Dumps?The 1Z0-078 certification exam evaluates both theoretical knowledge and practical understanding. Reviewing the latest 1Z0-078 exam questions helps candidates become familiar with question patterns, improve their confidence, and strengthen their problem-solving skills.1Z0-078 PDF study materials provide the flexibility to learn anytime and anywhere. Whether you are studying at home, during breaks, or while traveling, downloadable PDF resources make exam preparation more convenient and efficient.More Details for 1Z0-078 PDF Dumps: http://www.certsadvice.com/oracle/1z0-078-practice-questionsBenefits of 1Z0-078 Exam Preparation MaterialsAccess updated and relevant exam questionsUnderstand important exam objectives quicklyPractice with realistic exam-style questionsImprove time management skills through practice testsStudy on multiple devices using PDF formatsIncrease confidence before the actual examPrepare with CertsAdviceCertsAdvice offers updated 1Z0-078 exam questions, PDF study guides, and practice tests designed to help candidates prepare more effectively. These resources support focused learning and help candidates stay on track throughout their certification journey.Frequently Asked Questions (FAQs)What are 1Z0-078 exam dumps?1Z0-078 exam dumps are study resources that contain certification-related questions and answers to help candidates review key concepts and assess their exam readiness.How can practice tests help me prepare?Practice tests simulate the real exam environment, helping candidates identify weak areas, improve time management, and build confidence before exam day.Are 1Z0-078 PDF study materials useful?Yes. PDF study materials allow candidates to study conveniently across different devices and maintain a consistent learning schedule.Can updated exam questions improve preparation?Updated questions help candidates understand current exam objectives and focus on the most relevant topics for the certification exam.ConclusionAchieving 1Z0-078 certification requires dedication, consistent study, and effective preparation resources. By reviewing key concepts, practicing regularly, and using updated study materials, candidates can improve their understanding of the exam and approach test day with confidence.Save 50% on 1Z0-078 Study Materials Todayhttp://www.certsadvice.com/oracle/1z0-078-practice-questionsTake advantage of the latest CertsAdvice promotion and access high-quality 1Z0-078 preparation resources at a discounted price. Start preparing today and move one step closer to achieving your certification goals.
-
미해결업무 자동화, 내 업무에 AI를 도입하는 방법 [인프런 어워드 수상, AX]
섹션2- 6강의
화면에 이렇게만 나오고음성강의로, 강의자료로 없는데, 이렇게 나오는게 맞나요?
-
미해결클로드 코드 완벽 마스터: AI 개발 워크플로우 기초부터 실전까지
git사용자 정보 설정 확인 관련
Git 사용자 정보 설정 확인 시, 아래와 같이 global user.email 명령어 실행시에는 이메일이 출력되지 않으며, global user.name 실행시에는 이름이 아닌 이메일이 출력됩니다. 사용하는데 문제 없는 걸까요?
-
미해결AWS SAA-C03 자격증 벼락치기 - 딱 163문제로 2주만에 합격하기
데이터베이스 13번 문제
문제에서는 낮은 지연시간의 읽기성능(1), 재해복구기능(2), 비용 효율적인것(3)을 고르라고 했는데 정답은 A인데 왜 C가 아닌지 궁금합니다. A는 (1),(2)만 해당이 되는데 C는 (3)까지 가능하기 때문에 C가 더 정답이라고 느껴집니다..
-
해결됨친절한 블렌더 - [LV.2] 모델링 연습
커브 부분만 납작해지는 이유
안녕하세요!간판을 걸던 중 로프가 커브상태인데 일부가찌그러졌어요 ㅠㅠ 왜그런지 모르겠어요 복구하려면 어떻게 해야할까요?
-
미해결웹소켓/STOMP 채팅서비스(spring, vue, redis)
시큐리티 필터 설정 질문입니다!
안녕하세요, Spring Security 필터 등록 방식에 대해 질문이 있습니다.현재 이전까지 저는 Security 필터를 아래처럼 new로 직접 생성해서 사용하고 있습니다.LoginFilter loginFilter = new LoginFilter(authenticationManager, loginSuccessHandler, loginFailureHandler);@Component를 달아 Bean으로 등록하면 Spring이 Security 필터체인과 별개로 기본 서블릿 필터체인에도 자동 등록해버려서 필터가 두 번 실행되는 문제가 있기 때문입니다.혹시 최신 Spring Boot 버전에서는 이 문제가 개선되었나요? 아니면 @Component + 생성자 주입 방식을 안전하게 사용할 수 있는 방법이 따로 있는지 궁금합니다.
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
크로스 밸리데이션 질문
cross_val_score와 metrics의 f1_score 점수를 비교해보는데 근소한 차이긴 하지만 크로스 밸리데이션이 더 낮게 나오는거 시험에는 별로 상관없을까요?metrics는 0.845, cross는 0.785 이렇게 나옵니다!
-
미해결기초부터 실무까지 제대로 배우는 피그마 UI 디자인 클래스
7강 도형+펜툴 중 막혔습니다ㅠㅠㅠ
안녕하세요,7강 듣는 중 막혀서 질문드려요!원 4개 대충 배치한 다음에, ctrl+x 오려내주고, 펜툴로 점찍고 다시 붙여넣기 하니까, 저는 도형이 선생님처럼 따로 안떨어지고 붙었어요 ㅠㅠ 왜일까요 ?
-
미해결나만의 Claude Code 하네스 (SPEC·TDD·CI로 짓는 AI 개발 워크플로우)
tdd-red 스킬에 허용 에러 범위에 대한 질문
수업노트로 요청한 tdd-red 스킬의 초안은 다음과 같습니다.아래 내용으로 진행하면 import error, 파일 없음 에러도 정상적인 red 로 인식하고 다음 단계로 진행됩니다.--- name: tdd-red description: 승인된 테스트 시나리오를 실패하는 테스트 코드로 작성한다. TDD Red 단계 시작 시 사용한다. argument-hint: <feature> <이슈 번호> allowed-tools: Read Write Bash --- `$ARGUMENTS`에서 feature 이름과 이슈 번호를 파싱해 해당 이슈의 승인된 시나리오를 실패하는 테스트 코드로 작성한다. ## 시작 전 ### 인자 파싱 `$ARGUMENTS`를 공백으로 분리해 첫 번째 토큰을 `{feature}`, 두 번째 토큰을 `{issue}` 로 사용한다. | 입력 예시 | feature | issue | | ------------------ | -------- | ----- | | `/tdd-red tag 2` | `tag` | `2` | | `/tdd-red search 1`| `search` | `1` | 누락된 값이 있으면 실행 전에 사용자에게 질문한다. - `{feature}`가 없으면: "어떤 기능의 이슈인가요? (예: tag, search, ...)" - `{issue}`가 없으면: "이슈 번호를 알려주세요." 두 값이 확정된 뒤 `docs/features/{feature}/issue-{issue}.md` 를 읽어 시그니처와 테스트 시나리오 목록을 파악한다. - 시그니처 섹션: 테스트 대상 파일 경로 및 함수·컴포넌트명 확인 - 테스트 시나리오 섹션: 작성할 시나리오 목록 전체 수집 파일이 없으면 즉시 멈추고 사용자에게 알린다 (`/test-scenarios {feature} {issue}` 를 먼저 실행해야 한다는 안내 포함). --- ## 단계 1: 테스트 파일 준비 시그니처에서 테스트 대상 파일 경로를 추출하고 테스트 파일 경로를 결정한다. ### 파일 위치 규칙 | 구현 파일 | 테스트 파일 | | ---------------------------------- | ---------------------------------------- | | `src/api/tags.ts` | `src/api/tags.test.ts` | | `src/components/TagInput.tsx` | `src/components/TagInput.test.tsx` | | `src/context/NotesContext.tsx` | `src/context/NotesContext.test.tsx` | - 테스트 파일이 이미 존재하면 기존 내용을 읽어 중복 `describe` 블록을 피한다. - 테스트 파일이 없으면 새로 생성한다. ### 파일 헤더 (신규 생성 시) ```ts import { describe, it, expect, vi, beforeEach } from 'vitest'; // 컴포넌트 파일인 경우에만 추가: // import { render, screen } from '@testing-library/react'; // import userEvent from '@testing-library/user-event'; ``` --- ## 단계 2: 시나리오를 테스트 코드로 작성 시나리오를 하나씩 `it()` 블록으로 변환한다. 한 번에 모두 작성하지 않고 **시나리오 하나 작성 → 실행 → 실패 확인 → 다음 시나리오** 순서를 반복한다. ### 테스트 이름 형식 ``` should [기대 동작] when [조건] ``` ### describe 블록 구조 함수·컴포넌트 단위로 묶는다. ```ts describe('함수명 또는 컴포넌트명', () => { it('should [기대 동작] when [조건]', () => { // Red 단계: 구현이 없으므로 실패하는 코드만 작성 }); }); ``` ### Red 테스트 작성 원칙 - 구현이 존재하지 않으므로 import가 실패하거나 호출이 오류를 던져야 한다. - 억지로 통과시키려 하지 않는다. 실패 자체가 목표다. - `expect`는 실제 기대 동작을 명확하게 표현한다. `expect(true).toBe(false)` 같은 더미 assertion은 사용하지 않는다. **API 함수 예시** ```ts import { addTag } from './tags'; describe('addTag', () => { it('should return updated note when valid tag is added', async () => { const result = await addTag('note-1', 'work'); expect(result.tags).toContain('work'); }); it('should throw when tag is empty string', async () => { await expect(addTag('note-1', '')).rejects.toThrow(); }); }); ``` **컴포넌트 예시** ```ts import { render, screen } from '@testing-library/react'; import { TagInput } from './TagInput'; describe('TagInput', () => { it('should render input when component is mounted', () => { render(<TagInput tags={[]} onAdd={vi.fn()} onRemove={vi.fn()} />); expect(screen.getByRole('textbox')).toBeInTheDocument(); }); }); ``` --- ## 단계 3: 시나리오별 실행 루프 각 시나리오를 작성한 직후 아래 명령으로 해당 테스트 파일만 실행한다. ```bash npx vitest run <테스트-파일-경로> --reporter=verbose ``` - **실패 확인**: `FAIL` 또는 import 오류가 나오면 정상. 다음 시나리오로 이동한다. - **통과**: 테스트가 의도치 않게 통과하면 즉시 멈추고 사용자에게 알린다. 구현 파일이 이미 존재하는지 확인한다. --- ## 단계 4: 전체 확인 모든 시나리오 작성이 끝나면 전체 테스트를 실행한다. ```bash npm test ``` - 작성한 테스트 파일의 모든 케이스가 실패하는지 확인한다. - 기존에 통과하던 테스트가 새로 실패하면 즉시 사용자에게 보고한다. --- ## 제약 - 테스트 파일(`*.test.ts`, `*.test.tsx`)만 생성하거나 수정한다. - `src/` 안의 구현 코드(`*.ts`, `*.tsx`, `*.css` 등 테스트 파일 제외)는 절대 수정하지 않는다. - 테스트가 통과하도록 mock이나 stub으로 우회하지 않는다. --- ## 산출물 - 작성된 테스트 파일 목록 및 경로 - 시나리오별 실패 메시지 요약 - `npm test` 결과: 실패한 테스트 수 / 전체 테스트 수 관련해서, import 에러 및 파일 에러는 없어야한다.(stub 이 있어야 함. Collect 는 모두 성공하고 Test 단계에서 실패해야한다.) 는 점을 고려해서 아래와 같이 스킬을 수정했는데, 피드백 부탁드립니다. --- name: tdd-red description: 승인된 테스트 시나리오를 실패하는 테스트 코드로 작성한다. TDD Red 단계 시작 시 사용한다. argument-hint: <feature> <이슈 번호> allowed-tools: Read Write Bash --- `$ARGUMENTS`에서 feature 이름과 이슈 번호를 파싱해 해당 이슈의 승인된 시나리오를 실패하는 테스트 코드로 작성한다. ## 시작 전 ### 인자 파싱 `$ARGUMENTS`를 공백으로 분리해 첫 번째 토큰을 `{feature}`, 두 번째 토큰을 `{issue}` 로 사용한다. | 입력 예시 | feature | issue | | ------------------- | -------- | ----- | | `/tdd-red tag 2` | `tag` | `2` | | `/tdd-red search 1` | `search` | `1` | 누락된 값이 있으면 실행 전에 사용자에게 질문한다. - `{feature}`가 없으면: "어떤 기능의 이슈인가요? (예: tag, search, ...)" - `{issue}`가 없으면: "이슈 번호를 알려주세요." 두 값이 확정된 뒤 `docs/features/{feature}/issue-{issue}.md` 를 읽어 시그니처와 테스트 시나리오 목록을 파악한다. - 시그니처 섹션: 테스트 대상 파일 경로 및 함수·컴포넌트명 확인 - 테스트 시나리오 섹션: 작성할 시나리오 목록 전체 수집 파일이 없으면 즉시 멈추고 사용자에게 알린다 (`/test-scenarios {feature} {issue}` 를 먼저 실행해야 한다는 안내 포함). --- ## 단계 0: 스텁 생성 테스트 파일을 작성하기 전에, 이슈의 시그니처를 읽어 **아직 존재하지 않는 구현 파일**에 대해서만 최소 스텁을 생성한다. ### 목적 Import Error 때문에 테스트가 실행조차 되지 않으면, 테스트가 무엇을 거부하는지 알 수 없다. 스텁은 빌드를 통과시켜 테스트가 **Assertion Failure로 실패**하도록 만드는 것이 전부다. ### 스텁 작성 규칙 - **기존 파일이 있으면 건드리지 않는다.** 신규 파일만 생성한다. - 시그니처의 파라미터·반환 타입을 그대로 선언한다. 구현 로직은 쓰지 않는다. - 반환값은 타입을 만족하는 최솟값으로 고정한다. | 반환 타입 | 스텁 반환값 | | ------------------ | ------------- | | `string[]` | `[]` | | `string` | `''` | | `boolean` | `false` | | `Promise<T>` | `Promise.resolve(/* 최솟값 */)` | | React 컴포넌트 | `return <div />;` | | `void` | _(반환 없음)_ | ### 스텁 예시 **훅 (`src/hooks/useTagInput.ts`)** ```ts import { useState } from 'react'; export function useTagInput(_initialTags: string[]) { const [tags] = useState<string[]>([]); const [inputValue, setInputValue] = useState(''); return { tags, inputValue, setInputValue, addTag: (_value: string) => {}, removeTag: (_tag: string) => {}, handleKeyDown: (_e: React.KeyboardEvent<HTMLInputElement>) => {}, }; } ``` **컴포넌트 (`src/components/TagInput.tsx`)** ```tsx import { TagInputProps } from '../types'; // 필요 시 인라인 정의 export function TagInput(_props: TagInputProps) { return <div />; } ``` **API 함수 (`src/api/tags.ts`)** ```ts import { Note } from '../types/note'; export async function addTag(_noteId: string, _tag: string): Promise<Note> { return Promise.resolve({} as Note); } ``` --- ## 단계 1: 테스트 파일 준비 시그니처에서 테스트 파일 경로를 결정한다. | 구현 파일 | 테스트 파일 | | -------------------------------- | ----------------------------------- | | `src/api/tags.ts` | `src/api/tags.test.ts` | | `src/components/TagInput.tsx` | `src/components/TagInput.test.tsx` | | `src/context/NotesContext.tsx` | `src/context/NotesContext.test.tsx` | - 테스트 파일이 이미 존재하면 기존 내용을 읽어 중복 `describe` 블록을 피한다. - 테스트 파일이 없으면 새로 생성한다. ### 파일 헤더 (신규 생성 시) ```ts import { describe, it, expect, vi, beforeEach } from 'vitest'; // 컴포넌트 파일인 경우에만 추가: // import { render, screen } from '@testing-library/react'; // import userEvent from '@testing-library/user-event'; ``` --- ## 단계 2: 시나리오를 테스트 코드로 작성 이슈의 시나리오 전체를 한 번에 `it()` 블록으로 변환한다. ### 테스트 이름 형식 ``` should [기대 동작] when [조건] ``` ### describe 블록 구조 함수·컴포넌트 단위로 묶는다. ```ts describe('함수명 또는 컴포넌트명', () => { it('should [기대 동작] when [조건]', () => { // 스텁이 있으므로 import는 통과하고, assertion이 실패한다 }); }); ``` ### Red 테스트 작성 원칙 - `expect`는 실제 기대 동작을 명확하게 표현한다. `expect(true).toBe(false)` 같은 더미 assertion은 사용하지 않는다. - 스텁의 반환값(빈 배열, `<div />` 등)을 기준으로 assertion이 자연스럽게 실패하도록 작성한다. - 테스트가 통과하도록 mock이나 stub으로 우회하지 않는다. **API 함수 예시** ```ts import { addTag } from './tags'; describe('addTag', () => { it('should return updated note when valid tag is added', async () => { const result = await addTag('note-1', 'work'); expect(result.tags).toContain('work'); // 스텁은 {} 반환 → tags 없음 → Assertion Failure }); it('should throw when tag is empty string', async () => { await expect(addTag('note-1', '')).rejects.toThrow(); // 스텁은 throw 안 함 → Assertion Failure }); }); ``` **컴포넌트 예시** ```ts import { render, screen } from '@testing-library/react'; import { TagInput } from './TagInput'; describe('TagInput', () => { it('should render input when component is mounted', () => { render(<TagInput tags={[]} onAdd={vi.fn()} onRemove={vi.fn()} />); expect(screen.getByRole('textbox')).toBeInTheDocument(); // 스텁은 <div /> → textbox 없음 → Assertion Failure }); }); ``` --- ## 단계 3: 실행 및 Red 품질 확인 모든 테스트 파일을 작성한 뒤 파일별로 실행한다. ```bash npx vitest run <테스트-파일-경로> --reporter=verbose ``` ### Red 품질 기준 | 실패 유형 | 판정 | 조치 | | ------------------ | ------------- | ---------------------------------------- | | Assertion Failure | ✅ 올바른 Red | 다음으로 진행 | | Runtime Error | ✅ 허용 | 다음으로 진행 | | Import Error | ❌ 스텁 누락 | 단계 0으로 돌아가 해당 파일 스텁 보완 | | Syntax Error | ❌ 테스트 오류 | 테스트 코드 수정 | - **Import Error가 발생하면 올바른 Red로 인정하지 않는다.** 스텁을 보완한 뒤 다시 실행한다. - 테스트가 의도치 않게 통과하면 즉시 멈추고 사용자에게 알린다. --- ## 단계 4: 전체 확인 모든 파일의 Red 품질이 확인된 뒤 전체 테스트를 실행한다. ```bash npm test ``` - 이슈에서 작성한 테스트 파일의 케이스가 모두 Assertion Failure로 실패하는지 확인한다. - 기존에 통과하던 테스트가 새로 실패하면 즉시 사용자에게 보고한다. --- ## 제약 - 테스트 파일(`*.test.ts`, `*.test.tsx`)은 자유롭게 생성·수정한다. - 단계 0의 스텁은 **존재하지 않는 파일**에 한해서만 신규 생성한다. - **기존 구현 파일은 수정하지 않는다.** --- ## 산출물 - 생성된 스텁 파일 목록 및 최솟값 반환 내용 - 작성된 테스트 파일 목록 및 경로 - 파일별 실패 유형 요약 (Assertion Failure / Runtime Error) - `npm test` 결과: 실패한 테스트 수 / 전체 테스트 수
-
미해결클로드 코드 완벽 마스터: AI 개발 워크플로우 기초부터 실전까지
claude code 실행시간
안녕하세요,mission 4 과제를 진행중인데 클로드 코드의 프롬프트 수행 속도가 약 7분 이상으로 상당히 느립니다. 원래 속도가 이런 건지, 제 컴퓨터가 느리게 돌아가는 건지 여쭤봅니다..!
-
미해결[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
로지스틱 회귀분석 질문
작업형3 로지스틱 회귀분석 이론 강의에서는 로지스틱 함수로 모델 생성 후 test 데이터로 예측할 때 target를 빼지 않고 바로 예측을 진행했는데,제7회 기출문제에서 예측할 때는 pop으로 target을 빼고 예측을 수행했습니다.어떤 경우에 pop을 사용 후, 예측을 수행해야 하는지 차이점을 알고 싶어 질문드립니다.# 데이터셋 분할 train = df.iloc[:210] test = df.iloc[210:] # 1) 학습, test데이터를 사용해 예측 (0.5 미만: 0, 0.5 이상 1) model = logit("gender ~ weight", data=train).fit() target = test.pop("gender") pred = model.predict(test) > 0.5
-
미해결웹소켓/STOMP 채팅서비스(spring, vue, redis)
강의가 싱크가 안맞는것 같아요..
음성이 더 빠르게 나가고 화면이 느리게 나가서 싱크가 안맞습니다..
-
미해결클로드 코드 완벽 마스터: AI 개발 워크플로우 기초부터 실전까지
플랜모드에 대해 업데이트 내용이 있었던 것 같습니다!
플랜모드에 대해 업데이트가 있는것 같아요!강의 화면과 조금 달라요~!
-
해결됨맥북 처음 샀을 때 꼭 해야 할 세팅 A to Z (Claude Code · Homebrew · Agentic Coding 포함 | macOS 올인원)
21강 수업자료 다운로드 오류, 3:38초 붙여넣기하신 것 어디있나요?
21강 수업자료 다운로드 오류, 3:38초, heredoc> 붙여넣기하신 것 어디있나요?
-
미해결김영한의 실전 데이터베이스 - 설계 1편, 현대적 데이터 모델링 완전 정복
아주 작은 정오표 전달드립니다.
안녕하세요 ^^ 아주 작지만 소소한 정오표 전달드립니다. 7. 논리적 모델링3 - 일대일, 다대다 관계49페이지AS-IS우리가 실제 '수강신청 시스템'을로 만든다고TO-BE우리가 실제로 '수강신청 시스템'을 만든다고 마우스 드래그 하는 중에 바뀌는 부분 확인했습니다! 항상 감사합니다!
-
해결됨클로드 코드 완벽 마스터: AI 개발 워크플로우 기초부터 실전까지
서브에이전트 질문입니다.
서브에이전트 강의 듣던중 궁금증이 생겨 문의 드립니다.병렬처리를 할때 전체 작업에대한 md파일을 하나 만들고클로드 코드를 n개 켜서 진행 하는거로 알고 있었는데요.서브에이전트롤 활용하면 (별도의 thread? 같은 개념인가..) 여려개의 클로드 코드를 실행하지 않고하나의 클로드코드에서 병렬처리를 할수 있을까요?할수 있다면 어떤게 더 효율적인지 궁금합니다.