Skip to content

Commit 32de5d4

Browse files
Mark Pospeselmpospese
authored andcommitted
[CM-733] Use more descriptive unit test names
1 parent ff267d0 commit 32de5d4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Tests/YCoreUITests/Components/FormViewControllerTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import XCTest
1010
@testable import YCoreUI
1111

1212
final class FormViewControllerTests: XCTestCase {
13-
func test() {
13+
func testLoadView() {
1414
let sut = makeSUT()
1515
// we expect content view to have three subviews (label + textField + button)
1616
XCTAssertEqual(sut.contentView.subviews.count, 3)

Tests/YCoreUITests/Extensions/UIKit/UIColor+rgbValueTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ final class UIColorRgbValueTests: XCTestCase {
2323
(UIColor(rgb: 0xad1dea), "ab", false, "abad1dea")
2424
]
2525

26-
func test() {
26+
func testRgbDisplayString() {
2727
testCases.forEach {
2828
XCTAssertEqual($0.color.rgbDisplayString(prefix: $0.prefix, isUppercase: $0.isUppercase), $0.output)
2929
}

Tests/YCoreUITests/Extensions/UIKit/UIEdgeInsets+directionalTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ final class UIEdgeInsetsDirectionalTests: XCTestCase {
1818
UIEdgeInsets(top: 0, left: 16, bottom: 0, right: 16)
1919
]
2020

21-
func test() {
21+
func testDirectional() {
2222
testCases.forEach {
2323
let directional = $0.directionalInsets
2424
XCTAssertEqual($0.top, directional.top)

0 commit comments

Comments
 (0)