freeCodeCamp is a donor-supported tax-exempt 501(c)(3) charity organization (United States Federal Tax Identification Number: 82-0779546) Our mission: to help people learn to code for free. We accomplish this by creating thousands of videos, articles, and interactive coding lessons - all freely available to the public. Donations to freeCodeCamp go toward our education initiatives, and help pay for
こんにちは、くりりんです。 開発でユニットテストもやってねと任され、やり方を調べている中でMockito(モキート)という飲み物に出会いました。最初は飲み方がわかりませんでした…(笑)(最初に扱った時は使い方を理解できませんでした)。何回も飲むうちに飲みやすく感じるようになって、気が付いたらやみつきになっていましたね(何回も使っていたら便利すぎて手放せなくなりました)。 今回は、そんなMockitoの飲み方を解説していこうと思います。 くれぐれも飲み過ぎて倒れないようにしてくださいね! Mockitoとは? Mockitoは、Javaのユニットテストのために開発されたモックフレームワーク(mocking framework)です。テストでモックオブジェクトを直感的に操作できるのを目的として開発されています。 Mockitoの名の由来はもうわかると思いますがモヒートから来ています。 キレイで
ExamplesUsing a fixed version: unpkg.com/react@16.7.0/umd/react.production.min.jsunpkg.com/react-dom@16.7.0/umd/react-dom.production.min.jsYou may also use a semver range or a tag instead of a fixed version number, or omit the version/tag entirely to use the latest tag. unpkg.com/react@^16/umd/react.production.min.jsunpkg.com/react/umd/react.production.min.jsIf you omit the file path (i.e. use a “
ユークエスト株式会社は2021年10月1日をもちまして、 株式会社東光高岳に吸収合併を致しました。 Webサイトは下記のURLに移転しました。 https://uquest.tktk.co.jp/ ※5秒後に移転先にジャンプします。
Top [[Zend Server>Zend製品/Zend Server/FAQ]] [[Zend Studio>Zend製品/Zend Studio/FAQ]] [[Zend Guard>Zend製品/Zend Guard/FAQ]] 旧 Zend製品 [[免責事項]] [[コーディング指針]] 自作ライブラリの作成 Webアプリケーションを構成するスクリプトの多くは、過去に作成したWebアプリケーションのスクリプトと共通か若しくは拡張したものである。 これは、Webアプリケーションの基礎処理が既に枯れた技術であり、ほぼ普遍である事を表している。 過去に作成したスクリプトのカット&ペーストを行うよりも、繰り返し使われるスクリプトをリファクタリング*1を行い、汎用性のあるライブラリとして整理する事で、効率良く開発する事が可能となる。 ↑ 既存ライブラリとの重複を避ける PHPには、PEAR
1 Introduction This document serves as the complete definition of Google’s coding standards for source code in the JavaScript programming language. A JavaScript source file is described as being in Google Style if and only if it adheres to the rules herein. Like other programming style guides, the issues covered span not only aesthetic issues of formatting, but other types of conventions or coding
Background Which Shell to Use Bash is the only shell scripting language permitted for executables. Executables must start with #!/bin/bash and a minimum number of flags. Use set to set shell options so that calling your script as bash script_name does not break its functionality. Restricting all executable shell scripts to bash gives us a consistent shell language that’s installed on all our machi
C# at Google Style Guide This style guide is for C# code developed internally at Google, and is the default style for C# code at Google. It makes stylistic choices that conform to other languages at Google, such as Google C++ style and Google Java style. Formatting guidelines Naming rules Naming rules follow Microsoft’s C# naming guidelines. Where Microsoft’s naming guidelines are unspecified (e.g
Google Style Guides Every major open-source project has its own style guide: a set of conventions (sometimes arbitrary) about how to write code for that project. It is much easier to understand a large codebase when all the code in it is in a consistent style. “Style” covers a lot of ground, from “use camelCase for variable names” to “never use global variables” to “never use exceptions.” This pro
Check out our latest issue for a sample.
These things called passkeys sure are making the rounds these days. They were a main attraction at W3C TPAC 2022, gained support in Safari 16, are finding their way into macOS and iOS, and are slated to be the future for password managers like 1Password. They are already supported in Android, and will soon find their way into Chrome OS and Windows in […]
// Good: choose between two options as appropriate (see below). import * as ng from '@angular/core'; import {Foo} from './foo'; // Only when needed: default imports. import Button from 'Button'; // Sometimes needed to import libraries for their side effects: import 'jasmine'; import '@polymer/paper-button'; Import paths TypeScript code must use paths to import other TypeScript code. Paths may be r
webpack 4.19.1 を使っています。 背景 Webpackの設定でexternalsを使うと、指定したモジュールをバンドル対象から外して外部依存のままにできる。 典型的には、ブラウザの<script>タグで別途CDNからjQueryをロードする前提で、かつソース内でjQueryを importしていると、webpack実行時にはモジュール解決できずエラーになってしまうが、externals指定することでエラーを回避できる。 たとえば /* webpack.config.js */ module.exports = [{ // ... entry: 'main.js', externals: { hoge: 'fuga' }, // ... }] こんな設定で /* main.js */ import {app} from 'electron'; import hoge from
NestJS Fundamentals Course Get up to speed with NestJS fast. Master the building blocks and essential concepts behind creating your own enterprise-grade applications. Prepare for an in-depth guided course & walk-through of all the fundamentals of a NestJS application from the Creator Kamil Mysliwiec himself, and Mark Pieszak (Core Team Member). Step-by-step lesson progression, code everything alon
Ember.js is a JavaScript framework that greatly reduces the time, effort and resources needed to build any web application. It is focused on making you, the developer, as productive as possible by doing all the common, repetitive, yet essential, tasks involved in most web development projects. With Ember, you get all of these things: A Welcoming Community - Get the help you need, when you need it.
A framework for ambitious web developers. Ember.js is a productive, battle-tested JavaScript framework for building modern web applications. It includes everything you need to build rich UIs that work on any device. Read the Tutorial Build with the teams that never stop shipping. Some of the best development teams in the world have been iterating on their products for years with Ember. With scalab
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く