Introduction to Mobile UI Test Automation
test Cross-platform tests Scale Appium Open source mobile testing framework Not modify app under test Use language of choice Use known APIs (webdriver) Functional Tests Core www.github.com/Nat com/NativeScript/functional-tests-core Open source Java Appium Easy to write tests Single code base for both platforms Extended gesture and action support Image comparison Device management Reporting nativescript-facebook plugin: www.github.com/NativeScript/nativescript-facebook/blob /master/demo/e2e-tests/tests.js Integration Drawbacks Relies on Appium team for supporting new OS versions BRACE YOURSELVES0 码力 | 41 页 | 4.75 MB | 1 年前3THE FIRST EXPLORATION OF PROJECT SPARROW
Mathematical Proof Source: https://sel4.systems/About/seL4-whitepaper.pdf I. Background Functional correctness e.g.: Source: https://www.tbrk.org/ I. Background Translation0 码力 | 68 页 | 13.14 MB | 1 年前3C++20 STL Features: 1 Year of Development on GitHub
Build system: CMake/Ninja • vcpkg submodule acquires Boost.Math for Special Math • tests/std, tests/libcxx, tests/tr1 (legacy) • llvm-project submodule for libc++'s test suite • Uses Python and lit clang-format wants • Building all architectures is very fast • Testing x86/x64 takes about an hour • Many tests, multiplied by many compiler configurations42 Projects • Code Reviews (primary dashboard!) • Work0 码力 | 45 页 | 702.09 KB | 5 月前3C++高性能并行编程与优化 - 课件 - 06 TBB 开启的并行编程之旅
查看更多用法。 CMake 中使用: find_package CMake 中使用:作为子模块 这个什么“勾勾”公司非要默认开启 tests ,导致需要去寻找 googletest ,妨碍了我们作为子模块使用。 小彭老师单方面宣布:一切默认开启 tests , docs 构建目标的 cmake 项目,有病啊! 你妨碍别人作为子模块用你的项目。没错说的就是你 OpenSim ,张心欣当时浪费好多时间伺候这个沙雕库。0 码力 | 116 页 | 15.85 MB | 1 年前3C++23: An Overview of Almost All New and Updated Features
Library Quick Reference Founder of the Belgian C++ Users Group (BeCPP) C++204 Agenda C++23 Core Language Explicit Object Parameters if consteval Multidimensional Subscript Operator Attributes Containers Heterogeneous Erasure Removed Features Garbage Collection SupportC++23 Core Language6 Agenda C++23 Core Language Explicit Object Parameters if consteval Multidimensional Subscript int n) { if (n < 2) { return n; } return self(n - 1) + self(n - 2); };12 Agenda C++23 Core Language Explicit Object Parameters if consteval Multidimensional Subscript Operator Attributes0 码力 | 105 页 | 759.96 KB | 5 月前3C++高性能并行编程与优化 - 课件 - 16 现代 CMake 模块化项目管理指南
find_package(OpenCV REQUIRED COMPONENTS core videoio) • 查找名为 OpenCV 的包,找不到就报错,且必须具有 OpenCV::core 和 OpenCV::videoio 这 两个组件,如果没有这两个组件也会报错。 • find_package(OpenCV REQUIRED OPTIONAL_COMPONENTS core videoio) • 查找名为 OpenCV OpenCV 的包,找不到就报错,可具有 OpenCV::core 和 OpenCV::videoio 这两个 组件,没有这两组件不会报错,通过 ${OpenCV_core_FOUND} 查询是否找到 core 组件。 find_package 说是找“包”,到底是在找什么? • find_package(OpenCV) 实际上是在找一个名为 OpenCVConfig.cmake 的文件。 • 注:出于历史兼容性考虑,除了 Qt5Config.cmake 是你安装 Qt5 时,随 libQt5Core.so 等实际的库文件,一起装到你的 系统中去的。以我的 Arch Linux 系统为例: • 包配置文件位于 /usr/lib/cmake/Qt5/Qt5Config.cmake 。 • 实际的动态库文件位于 /usr/lib/libQt5Core.so 。 find_package 说是找“包 (package)”0 码力 | 56 页 | 6.87 MB | 1 年前3使用硬件加速Tokio - 戴翔
of the box, it also provides the knobs needed to fine tune to different cases. Flexible Tokio Core Queue-Based Modules in Tokio • Channel • Scheduler • Tokio uses Channel for communication between Senders Senders Receive Receivers Perf Gaps: CAS(Compare And Swap) can't perfectly scale with core count. Tokio Channel • Each worker has own run queue • Steal when own run queue is empty From Adding new entries from any core or thread • Picking the next entry by any core or thread Conclusion: • DLB channel scales with core count much better than SW channels • Core count >2 shows advantage0 码力 | 17 页 | 1.66 MB | 1 年前3Rust 异步并发框架在移动端的应用 - 陈明煜
能不如 Tokio smol Rayon 并非异步运行时。它通过同步 多线程模型提供了并行迭代器功能, 适用于处理 CPU 密集型计算任务 rayon 现有框架无法完美适配移动端(一) Core Thread Thread Worker Worker task task Local queue Local queue Tokio 采用了如右图这种 GMP 模式: • 一核可以绑定多线程,每个线程拥有一个 queue Core 高权重线程 Worker Worker 任务优先级调度 根据工作线程的优先级进行绑核(大小核) • 高优先级任务在大核执行,高性能 • 低优先级任务在小核执行,节省能耗 Task priority and quality of service Big Core Little Core 高优先级线程 低优先级线程 普通优先级线程 Set core-affinity0 码力 | 25 页 | 1.64 MB | 1 年前3Golang Warsaw #54
#54 26 October 2023 – 18:30 7N, Puławska 182, WarszawaHostSponsorsAgenda 1. Go-first End to End Tests for Highly Stateful Features - Kuba Martin 2. Break / Your announcements (OpenSource, event etc.);0 码力 | 7 页 | 1.66 MB | 5 月前3Golang Warsaw #55
#55 24 January 2024 – 18:00 Okta – Koszykowa 61, WarsawHostSponsorsAgenda 1. Go-first End to End Tests for Highly Stateful Features - Kuba Martin 2. Break / Your announcements (OpenSource, event etc.);0 码力 | 7 页 | 1.34 MB | 5 月前3
共 18 条
- 1
- 2