Chang
ABOUTHOMEARCHIVESCATEGORIESTAGS

  • pytest fixture

    Apr 18, 2017 About 8 mins

    python testing package인 pytest 중 fixture에 대해서 pytest 공식 문서를 참고해 작성했습니다. 왜 TestCase가 아니라 pytest를 사용하는 지에 대해서는 왜 pytest 를 사용할까? 포스트를 참고하면 됩니다. 목차 pytest fixtures: explicit, modular, scalable. 함수 인자들로서 사용되는 fixture들(Fixtures as Function arguments) “Funcargs” 종속성 대입의 대표적인 예 한 모듈(또는 클래스/세션)에서 테스트들을 거친 fixture를...

    #pytest#fixture
  • CircleCI에서 NPM - ECONNRESET 관련 에러

    Apr 14, 2017 About 1 min

    원래 잘 작동 중이던 circleCI가, 갑자기 npm install을 하는 과정에서 다음과 같은 에러를 내뿜으며 빌드가 실패되고 말았다. npm ERR! Linux 3.13.0-86-generic npm ERR! argv "/home/ubuntu/nvm/versions/node/v4.3.0/bin/node" "/home/ubuntu/nvm/versions/node/v4.3.0/bin/npm" "install" npm ERR! node v4.3.0 npm ERR! npm v2.14.12 npm ERR! code ECONNRESET npm ERR! errno ECONNRESET npm ERR! syscall read npm ERR! network...

    #circleCI#ci
  • DRF - 클래스 기반 Views

    Apr 11, 2017 About 1 min

    본 문서는 DRF 공식 문서를 번역한 문서입니다. 클래스 기반 뷰 ” django 클래스 기반 view는 예전 스타일의 view로 부터 시작하는 것을 환영한다.” - Reinout van Rees REST framework는 APIView class를 제공하는데, 이는 Django의 View 하위 클래스 입니다. APIVIew class들은 일반적인 View 클래스들과는 다음과 같이 다릅니다: handler methods에게 전달된 request들은 REST...

    #DRF#django-rest-framework
  • Let's Encrypt를 사용해 무료로 https(ssl)를 붙이는 방법(Ubuntu 14.04, certbot, 2017.09 updated)

    Apr 10, 2017 About 7 mins

    소개 Let’s Encrypt는 무료 SSL 인증서를 얻고 설치하는 쉬운 방법인 새로운 Certificate Authority(CA) 입니다. 그 때문에 웹 서버에서 https를 암호화되는 것을 가능하게 합니다. 필요한 단계들을 대부분 자동화 시켜주도록 하는 certbot 소프트웨어를 이용함으로서 이 처리를 간단하게 할 수 있습니다. 현재, 인증서를 설치하고 얻는 전체의 과정은 아파치 웹서버 에서만 완전히 자동화 할...

    #ssl
  • redux-saga에서 제공하는 helper effects

    Apr 04, 2017 About 3 mins

    redux-saga에서 saga helper에 관한 공식 블로그에서 제공하는 문서를 번역, 요약한 자료입니다. redux-saga 란? redux-saga is a library that aims to make side effects (i.e. asynchronous things like data fetching and impure things like accessing the browser cache) in React/Redux applications easier and better. 번역 : redux-saga는 사이드 이펙트(예를 들어, 데이터...

    #react#redux#redux-saga
Prev 14/21 Next
  • All104
  • DRF 1
  • TDD 1
  • UniC 1
  • algorithm 18
  • aws 1
  • ci 2
  • circleCI 1
  • circleci 1
  • cocos2d-x 1
  • data structure 2
  • database 6
  • django 5
  • encryption 1
  • english 1
  • environment 1
  • git 2
  • image-processing 2
  • javascript 2
  • machine-learning 2
  • mysql 3
  • nginx 1
  • open-source 1
  • os 6
  • pytest 4
  • python 7
  • react 8
  • react-router 1
  • redux 2
  • redux-form 2
  • selenium 7
  • server 2
  • serverless 2
  • setting 1
  • ssl 1
  • tech 1
  • test 1
  • ubuntu 1
  • 다익스트라 1
  • 디자인패턴 1
Copyright © 2010-2020 @wkdtjsgur100
Powered by Jekyll & Yat Theme.
Subscribe via RSS