码迷,mamicode.com
首页 >  
搜索关键字:testing    ( 1026个结果
[React Testing] Test Drive Assertions with Dates in React
Just make sure the date is in a range then it is fine import React from 'react' import {render, fireEvent, waitFor} from '@testing-library/react' impo ...
分类:其他好文   时间:2020-05-02 20:57:29    阅读次数:56
[React Testing] Use Generated Data in Tests with tests-data-bot to Improve Test Maintainability
A really important aspect of TDD is the refactor phase. A critical piece to making your tests easier to maintain is using code structure and values to ...
分类:其他好文   时间:2020-05-02 20:56:54    阅读次数:83
[React Testing] Hide console.error Logs when Testing Error Boundaries with jest.spyOn
When testing an error boundary, your console will be filled with console.error calls from React. Those can be a real distraction from the rest of the ...
分类:其他好文   时间:2020-05-01 20:34:20    阅读次数:73
[React Testing] Test componentDidCatch handler Error Boundaries
Error boundary: import React from 'react' import { reportError } from './components/extra/api' export default class ErrorBoundary extends React.Compon ...
分类:其他好文   时间:2020-05-01 20:33:28    阅读次数:74
Flask 基础组件(二):配置文件
配置参数 flask中的配置文件是一个flask.config.Config对象(继承字典),默认配置为: { 'DEBUG': get_debug_flag(default=False), 是否开启Debug模式 'TESTING': False, 是否开启测试模式 'PROPAGATE_EXCE ...
分类:其他好文   时间:2020-05-01 15:03:22    阅读次数:53
[React Testing] Mock react-transition-group in React Component Tests with jest.mock
There are some situations where you want to focus your tests on a particular component and not any of its children. There are other situations where y ...
分类:其他好文   时间:2020-05-01 01:32:17    阅读次数:93
[React Testing] Improve Test Confidence with the User Event Module
The User Event module is part of the Testing Library family of tools and lets you fire events on DOM nodes that more closely resemble the way your use ...
分类:其他好文   时间:2020-04-30 19:32:54    阅读次数:70
简单好用的C++ json库——JSON for Modern C++
github传送门为:https://nlohmann.github.io/json/ 简介 首先这个库不是奔着性能去的,设计者考虑的是:直观的语法(Intuitive syntax)、微小的整合(Trivial integration)、认真的测试(Serious testing) 至于内存效率和 ...
分类:编程语言   时间:2020-04-27 17:18:39    阅读次数:77
面试常见问题
软件的生命周期(prdctrm) 计划阶段(planning)-〉需求分析(requirement)-〉设计阶段(design)-〉编码(coding)->测试(testing)->运行与维护(running maintrnacne) 测试用例 用例编号 测试项目 测试标题 重要级别 预置条件 输入 ...
分类:其他好文   时间:2020-04-26 17:02:01    阅读次数:84
自动化八:单元测试框架六
单元测试框架:unittest 单元测试框架之测试报告生成 HTMLTestRunner.py """ A TestRunner for use with the Python unit testing framework. It generates a HTML report to show th ...
分类:其他好文   时间:2020-04-17 12:47:23    阅读次数:73
1026条   上一页 1 ... 8 9 10 11 12 ... 103 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!